summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-basic-station/mtcap-station.conf
blob: baa97935151c85ba35fc879aa4b89dd5bb94487c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
  "SX1301_conf": {
    "lorawan_public": true,
    "clksrc": 0,
    "pps": true,
    "device": "/dev/spidev0.0",
    "chan_FSK": {"bandwidth": 125000, "datarate": 50000, "enable": true, "if": 300000, "radio": 0},
    "chan_Lora_std": {"bandwidth": 250000, "enable": true, "if": -200000, "radio": 0, "spread_factor": 7},
    "chan_multiSF_0": {"enable": true, "if": -400000, "radio": 0},
    "chan_multiSF_1": {"enable": true, "if": -200000, "radio": 0},
    "chan_multiSF_2": {"enable": true, "if": 0, "radio": 0},
    "chan_multiSF_3": {"enable": true, "if": -400000, "radio": 1},
    "chan_multiSF_4": {"enable": true, "if": -200000, "radio": 1},
    "chan_multiSF_5": {"enable": true, "if": 0, "radio": 1},
    "chan_multiSF_6": {"enable": true, "if": 200000, "radio": 1},
    "chan_multiSF_7": {"enable": true, "if": 400000, "radio": 1},
    "radio_0": {"enable": true, "freq": 923600000, "rssi_offset": -162, "tx_enable": true, "type": "SX1257"},
    "radio_1": {"enable": true, "freq": 922600000, "rssi_offset": -162, "tx_enable": false, "type": "SX1257"},
    "tx_gain_lut": [
	{"dac_gain": 3,"dig_gain":2,"mix_gain":15,"pa_gain":1,"rf_power":10},
	{"dac_gain": 3,"dig_gain":3,"mix_gain":8,"pa_gain":3,"rf_power":11},
	{"dac_gain": 3,"dig_gain":2,"mix_gain":11,"pa_gain":2,"rf_power":12},
	{"dac_gain": 3,"dig_gain":0,"mix_gain":10,"pa_gain":2,"rf_power":13},
	{"dac_gain": 3,"dig_gain":3,"mix_gain":14,"pa_gain":2,"rf_power":14},
	{"dac_gain": 3,"dig_gain":1,"mix_gain":12,"pa_gain":2,"rf_power":15},
	{"dac_gain": 3,"dig_gain":0,"mix_gain":12,"pa_gain":2,"rf_power":16},
	{"dac_gain": 3,"dig_gain":2,"mix_gain":14,"pa_gain":2,"rf_power":17},
	{"dac_gain": 3,"dig_gain":2,"mix_gain":15,"pa_gain":2,"rf_power":18},
	{"dac_gain": 3,"dig_gain":1,"mix_gain":15,"pa_gain":2,"rf_power":19},
	{"dac_gain": 3,"dig_gain":0,"mix_gain":9,"pa_gain":3,"rf_power":20},
	{"dac_gain": 3,"dig_gain":1,"mix_gain":10,"pa_gain":3,"rf_power":21},
	{"dac_gain": 3,"dig_gain":0,"mix_gain":10,"pa_gain":3,"rf_power":22},
	{"dac_gain": 3,"dig_gain":0,"mix_gain":11,"pa_gain":3,"rf_power":23},
	{"dac_gain": 3,"dig_gain":2,"mix_gain":14,"pa_gain":3,"rf_power":24},
	{"dac_gain": 3,"dig_gain":0,"mix_gain":15,"pa_gain":3,"rf_power":25}
    ]
  },
  "station_conf": {
    "routerid": "<WILL-BE-AUTO-REPLACED-WITH-LORA-EUI>",
    "euiprefix": "::0",
    "log_file": "stderr",
    "log_level": "INFO",
    "log_size": 100000,
    "log_rotate": 3,
    "TC_TIMEOUT": "2s"
  }
}