summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-basic-station
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2020-07-24 09:54:05 -0500
committerJason Reiss <jreiss@multitech.com>2020-07-24 09:54:05 -0500
commitaa05dbc9fd7a22d15079b774fc79b43f38299942 (patch)
treeeda6b06754bb3c5816726efc967749e0db42f288 /recipes-connectivity/lora/lora-basic-station
parentec5e8d3c4a01f4fd73b7caa85c2b66f75436ed6e (diff)
downloadmeta-mlinux-aa05dbc9fd7a22d15079b774fc79b43f38299942.tar.gz
meta-mlinux-aa05dbc9fd7a22d15079b774fc79b43f38299942.tar.bz2
meta-mlinux-aa05dbc9fd7a22d15079b774fc79b43f38299942.zip
lora: add default station conf files to lora-basic-station recipe
Diffstat (limited to 'recipes-connectivity/lora/lora-basic-station')
-rw-r--r--recipes-connectivity/lora/lora-basic-station/mtcap-station.conf47
-rw-r--r--recipes-connectivity/lora/lora-basic-station/mtcdt-station.conf47
2 files changed, 94 insertions, 0 deletions
diff --git a/recipes-connectivity/lora/lora-basic-station/mtcap-station.conf b/recipes-connectivity/lora/lora-basic-station/mtcap-station.conf
new file mode 100644
index 0000000..baa9793
--- /dev/null
+++ b/recipes-connectivity/lora/lora-basic-station/mtcap-station.conf
@@ -0,0 +1,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"
+ }
+}
diff --git a/recipes-connectivity/lora/lora-basic-station/mtcdt-station.conf b/recipes-connectivity/lora/lora-basic-station/mtcdt-station.conf
new file mode 100644
index 0000000..8cfa72d
--- /dev/null
+++ b/recipes-connectivity/lora/lora-basic-station/mtcdt-station.conf
@@ -0,0 +1,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": [
+ {"dig_gain": 0, "mix_gain": 11, "pa_gain": 0, "dac_gain": 3, "rf_power": -6},
+ {"dig_gain": 0, "mix_gain": 13, "pa_gain": 0, "dac_gain": 3, "rf_power": -3},
+ {"dig_gain": 0, "mix_gain": 9, "pa_gain": 1, "dac_gain": 3, "rf_power": 0},
+ {"dig_gain": 0, "mix_gain": 10, "pa_gain": 1, "dac_gain": 3, "rf_power": 3},
+ {"dig_gain": 0, "mix_gain": 12, "pa_gain": 1, "dac_gain": 3, "rf_power": 6},
+ {"dig_gain": 0, "mix_gain": 10, "pa_gain": 2, "dac_gain": 3, "rf_power": 10},
+ {"dig_gain": 0, "mix_gain": 11, "pa_gain": 2, "dac_gain": 3, "rf_power": 11},
+ {"dig_gain": 0, "mix_gain": 11, "pa_gain": 2, "dac_gain": 3, "rf_power": 12},
+ {"dig_gain": 2, "mix_gain": 12, "pa_gain": 2, "dac_gain": 3, "rf_power": 13},
+ {"dig_gain": 0, "mix_gain": 13, "pa_gain": 2, "dac_gain": 3, "rf_power": 14},
+ {"dig_gain": 0, "mix_gain": 15, "dac_gain": 3, "pa_gain": 2, "rf_power": 16},
+ {"dig_gain": 0, "mix_gain": 10, "pa_gain": 3, "dac_gain": 3, "rf_power": 20},
+ {"dig_gain": 0, "mix_gain": 12, "dac_gain": 3, "pa_gain": 3, "rf_power": 23},
+ {"dig_gain": 0, "dac_gain": 3, "mix_gain": 13, "pa_gain": 3, "rf_power": 25},
+ {"dig_gain": 0, "dac_gain": 3, "mix_gain": 15, "pa_gain": 3, "rf_power": 26},
+ {"dig_gain": 0, "mix_gain": 15, "dac_gain": 3, "pa_gain": 3, "rf_power": 27}
+ ]
+ },
+ "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"
+ }
+}