From fa4944b6df36983c655fd951d6acd69f44fb6a6f Mon Sep 17 00:00:00 2001 From: Jason Reiss Date: Tue, 28 Nov 2017 11:44:50 -0600 Subject: lora: add additional global_conf.json examples for new channel plans --- ...nf.json.3.0.0.MTAC_LORA_1_0.EU868.basic.clksrc0 | 415 ++++++++++----------- ...son.3.0.0.MTAC_LORA_1_5.AS923-LBT.basic.clksrc0 | 226 +++++++++++ ...nf.json.3.0.0.MTAC_LORA_1_5.AS923.basic.clksrc0 | 194 ++++++++++ ...nf.json.3.0.0.MTAC_LORA_1_5.AU915.basic.clksrc0 | 192 ++++++++++ ...nf.json.3.0.0.MTAC_LORA_1_5.EU868.basic.clksrc0 | 410 ++++++++++---------- ...nf.json.3.0.0.MTAC_LORA_1_5.IN865.basic.clksrc0 | 195 ++++++++++ ...son.3.0.0.MTAC_LORA_1_5.KR920-LBT.basic.clksrc0 | 225 +++++++++++ ...nf.json.3.0.0.MTAC_LORA_1_5.US915.basic.clksrc0 | 6 +- ..._conf.json.3.1.0.MTCAP-LORA-1-5.AS923-LBT.basic | 242 ++++++++++++ ...obal_conf.json.3.1.0.MTCAP-LORA-1-5.AS923.basic | 210 +++++++++++ ...obal_conf.json.3.1.0.MTCAP-LORA-1-5.AU915.basic | 208 +++++++++++ ...obal_conf.json.3.1.0.MTCAP-LORA-1-5.EU868.basic | 384 +++++++++---------- ...obal_conf.json.3.1.0.MTCAP-LORA-1-5.IN865.basic | 211 +++++++++++ ..._conf.json.3.1.0.MTCAP-LORA-1-5.KR920-LBT.basic | 241 ++++++++++++ ...obal_conf.json.3.1.0.MTCAP-LORA-1-5.US915.basic | 2 +- .../lora/lora-packet-forwarder_3.1.0.bb | 20 + 16 files changed, 2739 insertions(+), 642 deletions(-) create mode 100644 recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.AS923-LBT.basic.clksrc0 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.AS923.basic.clksrc0 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.AU915.basic.clksrc0 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.IN865.basic.clksrc0 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.KR920-LBT.basic.clksrc0 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.AS923-LBT.basic create mode 100644 recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.AS923.basic create mode 100644 recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.AU915.basic create mode 100644 recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.IN865.basic create mode 100644 recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.KR920-LBT.basic diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_0.EU868.basic.clksrc0 b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_0.EU868.basic.clksrc0 index 5e8bec0..1b06371 100644 --- a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_0.EU868.basic.clksrc0 +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_0.EU868.basic.clksrc0 @@ -1,225 +1,194 @@ { - "SX1301_conf": { - "lorawan_public": true, - "clksrc": 0, /* radio_1 provides clock to concentrator */ - "lbt_cfg": { - "enable": false, - "rssi_target": 160, /* rssi in dBm = -lbt_rssi_target/2 */ - "nb_channel": 1, - "start_freq": 869525000, - "scan_time_us": 5000, - "tx_delay_1ch_us": 4000000, - "tx_delay_2ch_us": 4000000 - }, - "antenna_gain": 0, /* antenna gain, in dBi */ - "radio_0": { - "enable": true, - "type": "SX1257", - "freq": 867500000, - "rssi_offset": -165.0, - "tx_enable": true, - "tx_freq_min": 863000000, - "tx_freq_max": 870000000 - }, - "radio_1": { - "enable": true, - "type": "SX1257", - "freq": 868500000, - "rssi_offset": -165.0, - "tx_enable": false - }, - "chan_multiSF_0": { - /* Lora MAC channel, 125kHz, all SF, 868.1 MHz */ - "enable": true, - "radio": 1, - "if": -400000 - }, - "chan_multiSF_1": { - /* Lora MAC channel, 125kHz, all SF, 868.3 MHz */ - "enable": true, - "radio": 1, - "if": -200000 - }, - "chan_multiSF_2": { - /* Lora MAC channel, 125kHz, all SF, 868.5 MHz */ - "enable": true, - "radio": 1, - "if": 0 - }, - "chan_multiSF_3": { - /* Lora MAC channel, 125kHz, all SF, 867.1 MHz */ - "enable": true, - "radio": 0, - "if": -400000 - }, - "chan_multiSF_4": { - /* Lora MAC channel, 125kHz, all SF, 867.3 MHz */ - "enable": true, - "radio": 0, - "if": -200000 - }, - "chan_multiSF_5": { - /* Lora MAC channel, 125kHz, all SF, 867.5 MHz */ - "enable": true, - "radio": 0, - "if": 0 - }, - "chan_multiSF_6": { - /* Lora MAC channel, 125kHz, all SF, 867.7 MHz */ - "enable": true, - "radio": 0, - "if": 200000 - }, - "chan_multiSF_7": { - /* Lora MAC channel, 125kHz, all SF, 867.9 MHz */ - "enable": true, - "radio": 0, - "if": 400000 - }, - "chan_Lora_std": { - /* Lora MAC channel, 250kHz, SF7, 868.3 MHz */ - "enable": true, - "radio": 1, - "if": -200000, - "bandwidth": 250000, - "spread_factor": 7 - }, - "chan_FSK": { - /* FSK 50kbps channel, 868.8 MHz */ - "enable": true, - "radio": 1, - "if": 300000, - "bandwidth": 125000, - "datarate": 50000 - }, - "tx_lut_0": { - /* TX gain table, index 0 */ - "pa_gain": 0, - "mix_gain": 8, - "rf_power": -6, - "dig_gain": 3 - }, - "tx_lut_1": { - /* TX gain table, index 1 */ - "pa_gain": 0, - "mix_gain": 10, - "rf_power": -3, - "dig_gain": 3 - }, - "tx_lut_2": { - /* TX gain table, index 2 */ - "pa_gain": 0, - "mix_gain": 12, - "rf_power": 0, - "dig_gain": 3 - }, - "tx_lut_3": { - /* TX gain table, index 3 */ - "pa_gain": 1, - "mix_gain": 8, - "rf_power": 3, - "dig_gain": 3 - }, - "tx_lut_4": { - /* TX gain table, index 4 */ - "pa_gain": 1, - "mix_gain": 10, - "rf_power": 6, - "dig_gain": 3 - }, - "tx_lut_5": { - /* TX gain table, index 5 */ - "pa_gain": 1, - "mix_gain": 12, - "rf_power": 10, - "dig_gain": 3 - }, - "tx_lut_6": { - /* TX gain table, index 6 */ - "pa_gain": 1, - "mix_gain": 12, - "rf_power": 11, - "dig_gain": 3 - }, - "tx_lut_7": { - /* TX gain table, index 7 */ - "pa_gain": 2, - "mix_gain": 9, - "rf_power": 12, - "dig_gain": 3 - }, - "tx_lut_8": { - /* TX gain table, index 8 */ - "pa_gain": 1, - "mix_gain": 15, - "rf_power": 13, - "dig_gain": 3 - }, - "tx_lut_9": { - /* TX gain table, index 9 */ - "pa_gain": 2, - "mix_gain": 10, - "rf_power": 14, - "dig_gain": 3 - }, - "tx_lut_10": { - /* TX gain table, index 10 */ - "pa_gain": 2, - "mix_gain": 11, - "rf_power": 16, - "dig_gain": 3 - }, - "tx_lut_11": { - /* TX gain table, index 11 */ - "pa_gain": 3, - "mix_gain": 10, - "rf_power": 20, - "dig_gain": 3 - }, - "tx_lut_12": { - /* TX gain table, index 12 */ - "pa_gain": 3, - "mix_gain": 11, - "rf_power": 23, - "dig_gain": 3 - }, - "tx_lut_13": { - /* TX gain table, index 13 */ - "pa_gain": 3, - "mix_gain": 12, - "rf_power": 24, - "dig_gain": 3 - }, - "tx_lut_14": { - /* TX gain table, index 14 */ - "pa_gain": 3, - "mix_gain": 13, - "rf_power": 25, - "dig_gain": 3 - }, - "tx_lut_15": { - /* TX gain table, index 15 */ - "pa_gain": 3, - "mix_gain": 15, - "rf_power": 26, - "dig_gain": 3 - } - }, - - "gateway_conf": { - "gateway_ID": "AA555A0000000000", - /* change with default server address/ports, or overwrite in local_conf.json */ - "server_address": "localhost", - "serv_port_up": 1680, - "serv_port_down": 1680, - /* adjust the following parameters for your network */ - "keepalive_interval": 10, - "stat_interval": 30, - "push_timeout_ms": 100, - /* forward only valid packets */ - "forward_crc_valid": true, - "forward_crc_error": false, - "forward_crc_disabled": false - } + "SX1301_conf": { + "antenna_gain": 0, + "chan_FSK": { + "bandwidth": 125000, + "datarate": 50000, + "enable": true, + "if": 300000, + "radio": 1 + }, + "chan_Lora_std": { + "bandwidth": 250000, + "enable": true, + "if": -200000, + "radio": 1, + "spread_factor": 7 + }, + "chan_multiSF_0": { + "enable": true, + "if": -400000, + "radio": 1 + }, + "chan_multiSF_1": { + "enable": true, + "if": -200000, + "radio": 1 + }, + "chan_multiSF_2": { + "enable": true, + "if": 0, + "radio": 1 + }, + "chan_multiSF_3": { + "enable": true, + "if": -400000, + "radio": 0 + }, + "chan_multiSF_4": { + "enable": true, + "if": -200000, + "radio": 0 + }, + "chan_multiSF_5": { + "enable": true, + "if": 0, + "radio": 0 + }, + "chan_multiSF_6": { + "enable": true, + "if": 200000, + "radio": 0 + }, + "chan_multiSF_7": { + "enable": true, + "if": 400000, + "radio": 0 + }, + "clksrc": 0, + "lbt_cfg": { + "enable": false, + "nb_channel": 1, + "rssi_target": 160, + "scan_time_us": 5000, + "start_freq": 869525000, + "tx_delay_1ch_us": 4000000, + "tx_delay_2ch_us": 4000000 + }, + "lorawan_public": true, + "radio_0": { + "enable": true, + "freq": 867500000, + "rssi_offset": -165, + "tx_enable": true, + "tx_freq_max": 870000000, + "tx_freq_min": 863000000, + "type": "SX1257" + }, + "radio_1": { + "enable": true, + "freq": 868500000, + "rssi_offset": -165, + "tx_enable": false, + "type": "SX1257" + }, + "tx_lut_0": { + "dig_gain": 3, + "mix_gain": 8, + "pa_gain": 0, + "rf_power": -6 + }, + "tx_lut_1": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 0, + "rf_power": -3 + }, + "tx_lut_10": { + "dig_gain": 3, + "mix_gain": 11, + "pa_gain": 2, + "rf_power": 16 + }, + "tx_lut_11": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 3, + "rf_power": 20 + }, + "tx_lut_12": { + "dig_gain": 3, + "mix_gain": 11, + "pa_gain": 3, + "rf_power": 23 + }, + "tx_lut_13": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 3, + "rf_power": 24 + }, + "tx_lut_14": { + "dig_gain": 3, + "mix_gain": 13, + "pa_gain": 3, + "rf_power": 25 + }, + "tx_lut_15": { + "dig_gain": 3, + "mix_gain": 15, + "pa_gain": 3, + "rf_power": 26 + }, + "tx_lut_2": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 0, + "rf_power": 0 + }, + "tx_lut_3": { + "dig_gain": 3, + "mix_gain": 8, + "pa_gain": 1, + "rf_power": 3 + }, + "tx_lut_4": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 1, + "rf_power": 6 + }, + "tx_lut_5": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 1, + "rf_power": 10 + }, + "tx_lut_6": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 1, + "rf_power": 11 + }, + "tx_lut_7": { + "dig_gain": 3, + "mix_gain": 9, + "pa_gain": 2, + "rf_power": 12 + }, + "tx_lut_8": { + "dig_gain": 3, + "mix_gain": 15, + "pa_gain": 1, + "rf_power": 13 + }, + "tx_lut_9": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 2, + "rf_power": 14 + } + }, + "gateway_conf": { + "forward_crc_disabled": false, + "forward_crc_error": false, + "forward_crc_valid": true, + "gateway_ID": "AA555A0000000000", + "keepalive_interval": 10, + "push_timeout_ms": 100, + "serv_port_down": 1680, + "serv_port_up": 1680, + "server_address": "localhost", + "stat_interval": 30 + } } - diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.AS923-LBT.basic.clksrc0 b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.AS923-LBT.basic.clksrc0 new file mode 100644 index 0000000..96c7ba2 --- /dev/null +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.AS923-LBT.basic.clksrc0 @@ -0,0 +1,226 @@ +{ + "SX1301_conf": { + "antenna_gain": 0, + "chan_FSK": { + "bandwidth": 125000, + "datarate": 50000, + "enable": true, + "freq_deviation": 25000, + "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 + }, + "clksrc": 0, + "lbt_cfg": { + "chan_cfg": [ + { + "freq_hz": 923200000, + "scan_time_us": 5000 + }, + { + "freq_hz": 923400000, + "scan_time_us": 5000 + }, + { + "freq_hz": 923600000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922200000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922400000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922600000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922800000, + "scan_time_us": 5000 + }, + { + "freq_hz": 923000000, + "scan_time_us": 5000 + } + ], + "enable": true, + "rssi_target": -80, + "sx127x_rssi_offset": -4 + }, + "lorawan_public": true, + "radio_0": { + "enable": true, + "freq": 923600000, + "rssi_offset": -162, + "tx_enable": true, + "tx_freq_max": 928000000, + "tx_freq_min": 920000000, + "type": "SX1257" + }, + "radio_1": { + "enable": true, + "freq": 922600000, + "rssi_offset": -162, + "tx_enable": false, + "type": "SX1257" + }, + "tx_lut_0": { + "dig_gain": 3, + "mix_gain": 8, + "pa_gain": 0, + "rf_power": -6 + }, + "tx_lut_1": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 0, + "rf_power": -3 + }, + "tx_lut_10": { + "dig_gain": 3, + "mix_gain": 11, + "pa_gain": 2, + "rf_power": 16 + }, + "tx_lut_11": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 3, + "rf_power": 20 + }, + "tx_lut_12": { + "dig_gain": 3, + "mix_gain": 11, + "pa_gain": 3, + "rf_power": 23 + }, + "tx_lut_13": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 3, + "rf_power": 24 + }, + "tx_lut_14": { + "dig_gain": 3, + "mix_gain": 13, + "pa_gain": 3, + "rf_power": 25 + }, + "tx_lut_15": { + "dig_gain": 3, + "mix_gain": 15, + "pa_gain": 3, + "rf_power": 26 + }, + "tx_lut_2": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 0, + "rf_power": 0 + }, + "tx_lut_3": { + "dig_gain": 3, + "mix_gain": 8, + "pa_gain": 1, + "rf_power": 3 + }, + "tx_lut_4": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 1, + "rf_power": 6 + }, + "tx_lut_5": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 1, + "rf_power": 10 + }, + "tx_lut_6": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 1, + "rf_power": 11 + }, + "tx_lut_7": { + "dig_gain": 3, + "mix_gain": 9, + "pa_gain": 2, + "rf_power": 12 + }, + "tx_lut_8": { + "dig_gain": 3, + "mix_gain": 15, + "pa_gain": 1, + "rf_power": 13 + }, + "tx_lut_9": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 2, + "rf_power": 14 + } + }, + "gateway_conf": { + "gateway_ID": "", + "server_address": "52.3.215.147", + "serv_port_up": 20000, + "serv_port_down": 20000, + "forward_crc_disabled": false, + "forward_crc_error": true, + "forward_crc_valid": true, + "keepalive_interval": 10, + "push_timeout_ms": 120, + "stat_interval": 20, + "synch_word": 52 + } +} diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.AS923.basic.clksrc0 b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.AS923.basic.clksrc0 new file mode 100644 index 0000000..1c5a1d2 --- /dev/null +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.AS923.basic.clksrc0 @@ -0,0 +1,194 @@ +{ + "SX1301_conf": { + "antenna_gain": 0, + "chan_FSK": { + "bandwidth": 125000, + "datarate": 50000, + "enable": true, + "freq_deviation": 25000, + "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 + }, + "clksrc": 0, + "lbt_cfg": { + "chan_cfg": [ + ], + "enable": false, + "rssi_target": -80, + "sx127x_rssi_offset": -4 + }, + "lorawan_public": true, + "radio_0": { + "enable": true, + "freq": 923600000, + "rssi_offset": -162, + "tx_enable": true, + "tx_freq_max": 928000000, + "tx_freq_min": 920000000, + "type": "SX1257" + }, + "radio_1": { + "enable": true, + "freq": 922600000, + "rssi_offset": -162, + "tx_enable": false, + "type": "SX1257" + }, + "tx_lut_0": { + "dig_gain": 3, + "mix_gain": 8, + "pa_gain": 0, + "rf_power": -6 + }, + "tx_lut_1": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 0, + "rf_power": -3 + }, + "tx_lut_10": { + "dig_gain": 3, + "mix_gain": 11, + "pa_gain": 2, + "rf_power": 16 + }, + "tx_lut_11": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 3, + "rf_power": 20 + }, + "tx_lut_12": { + "dig_gain": 3, + "mix_gain": 11, + "pa_gain": 3, + "rf_power": 23 + }, + "tx_lut_13": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 3, + "rf_power": 24 + }, + "tx_lut_14": { + "dig_gain": 3, + "mix_gain": 13, + "pa_gain": 3, + "rf_power": 25 + }, + "tx_lut_15": { + "dig_gain": 3, + "mix_gain": 15, + "pa_gain": 3, + "rf_power": 26 + }, + "tx_lut_2": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 0, + "rf_power": 0 + }, + "tx_lut_3": { + "dig_gain": 3, + "mix_gain": 8, + "pa_gain": 1, + "rf_power": 3 + }, + "tx_lut_4": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 1, + "rf_power": 6 + }, + "tx_lut_5": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 1, + "rf_power": 10 + }, + "tx_lut_6": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 1, + "rf_power": 11 + }, + "tx_lut_7": { + "dig_gain": 3, + "mix_gain": 9, + "pa_gain": 2, + "rf_power": 12 + }, + "tx_lut_8": { + "dig_gain": 3, + "mix_gain": 15, + "pa_gain": 1, + "rf_power": 13 + }, + "tx_lut_9": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 2, + "rf_power": 14 + } + }, + "gateway_conf": { + "gateway_ID": "", + "server_address": "52.3.215.147", + "serv_port_up": 20000, + "serv_port_down": 20000, + "forward_crc_disabled": false, + "forward_crc_error": true, + "forward_crc_valid": true, + "keepalive_interval": 10, + "push_timeout_ms": 120, + "stat_interval": 20, + "synch_word": 52 + } +} diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.AU915.basic.clksrc0 b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.AU915.basic.clksrc0 new file mode 100644 index 0000000..3463991 --- /dev/null +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.AU915.basic.clksrc0 @@ -0,0 +1,192 @@ +{ + "SX1301_conf": { + "lorawan_public": true, + "antenna_gain": 0, + "clksrc": 0, + "radio_0": { + "enable": true, + "freq": 915600000, + "rssi_offset": -162, + "tx_enable": true, + "tx_freq_max": 928000000, + "tx_freq_min": 902000000, + "type": "SX1257" + }, + "radio_1": { + "enable": true, + "freq": 916400000, + "rssi_offset": -162, + "tx_enable": false, + "type": "SX1257" + }, + "chan_FSK": { + "enable": false, + "radio": 0 + }, + "chan_Lora_std": { + "bandwidth": 500000, + "enable": true, + "if": 300000, + "radio": 0, + "spread_factor": 8 + }, + "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": 200000, + "radio": 0 + }, + "chan_multiSF_4": { + "enable": true, + "if": -400000, + "radio": 1 + }, + "chan_multiSF_5": { + "enable": true, + "if": -200000, + "radio": 1 + }, + "chan_multiSF_6": { + "enable": true, + "if": 0, + "radio": 1 + }, + "chan_multiSF_7": { + "enable": true, + "if": 200000, + "radio": 1 + }, + "lbt_cfg": { + "enable": false, + "nb_channel": 1, + "rssi_target": 160, + "scan_time_us": 5000, + "start_freq": 869525000, + "tx_delay_1ch_us": 4000000, + "tx_delay_2ch_us": 4000000 + }, + "tx_lut_0": { + "dig_gain": 0, + "mix_gain": 11, + "pa_gain": 0, + "rf_power": -6 + }, + "tx_lut_1": { + "dig_gain": 0, + "mix_gain": 13, + "pa_gain": 0, + "rf_power": -3 + }, + "tx_lut_2": { + "dig_gain": 0, + "mix_gain": 9, + "pa_gain": 1, + "rf_power": 0 + }, + "tx_lut_3": { + "dig_gain": 0, + "mix_gain": 10, + "pa_gain": 1, + "rf_power": 3 + }, + "tx_lut_4": { + "dig_gain": 0, + "mix_gain": 12, + "pa_gain": 1, + "rf_power": 6 + }, + "tx_lut_5": { + "dig_gain": 0, + "mix_gain": 10, + "pa_gain": 2, + "rf_power": 10 + }, + "tx_lut_6": { + "dig_gain": 0, + "mix_gain": 11, + "pa_gain": 2, + "rf_power": 11 + }, + "tx_lut_7": { + "dig_gain": 0, + "mix_gain": 11, + "pa_gain": 2, + "rf_power": 12 + }, + "tx_lut_8": { + "dig_gain": 2, + "mix_gain": 12, + "pa_gain": 2, + "rf_power": 13 + }, + "tx_lut_9": { + "dig_gain": 0, + "mix_gain": 13, + "pa_gain": 2, + "rf_power": 14 + }, + "tx_lut_10": { + "dig_gain": 0, + "mix_gain": 15, + "pa_gain": 2, + "rf_power": 16 + }, + "tx_lut_11": { + "dig_gain": 0, + "mix_gain": 10, + "pa_gain": 3, + "rf_power": 20 + }, + "tx_lut_12": { + "dig_gain": 0, + "mix_gain": 12, + "pa_gain": 3, + "rf_power": 23 + }, + "tx_lut_13": { + "dig_gain": 0, + "mix_gain": 13, + "pa_gain": 3, + "rf_power": 25 + }, + "tx_lut_14": { + "dig_gain": 0, + "mix_gain": 15, + "pa_gain": 3, + "rf_power": 26 + }, + "tx_lut_15": { + "dig_gain": 0, + "mix_gain": 15, + "pa_gain": 3, + "rf_power": 27 + } + }, + "gateway_conf": { + "forward_crc_disabled": false, + "forward_crc_error": false, + "forward_crc_valid": true, + "gateway_ID": "", + "keepalive_interval": 12, + "push_timeout_ms": 120, + "serv_port_down": 20000, + "serv_port_up": 20000, + "server_address": "52.3.215.147", + "stat_interval": 20, + "synch_word": 52 + } +} diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.EU868.basic.clksrc0 b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.EU868.basic.clksrc0 index 5b51935..b9b1bab 100644 --- a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.EU868.basic.clksrc0 +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.EU868.basic.clksrc0 @@ -1,225 +1,189 @@ { - "SX1301_conf": { - "lorawan_public": true, - "clksrc": 0, /* radio_1 provides clock to concentrator */ - "lbt_cfg": { - "enable": false, - "rssi_target": 160, /* rssi in dBm = -lbt_rssi_target/2 */ - "nb_channel": 1, - "start_freq": 869525000, - "scan_time_us": 5000, - "tx_delay_1ch_us": 4000000, - "tx_delay_2ch_us": 4000000 - }, - "antenna_gain": 0, /* antenna gain, in dBi */ - "radio_0": { - "enable": true, - "type": "SX1257", - "freq": 867500000, - "rssi_offset": -165.0, - "tx_enable": true, - "tx_freq_min": 863000000, - "tx_freq_max": 870000000 - }, - "radio_1": { - "enable": true, - "type": "SX1257", - "freq": 868500000, - "rssi_offset": -165.0, - "tx_enable": false - }, - "chan_multiSF_0": { - /* Lora MAC channel, 125kHz, all SF, 868.1 MHz */ - "enable": true, - "radio": 1, - "if": -400000 - }, - "chan_multiSF_1": { - /* Lora MAC channel, 125kHz, all SF, 868.3 MHz */ - "enable": true, - "radio": 1, - "if": -200000 - }, - "chan_multiSF_2": { - /* Lora MAC channel, 125kHz, all SF, 868.5 MHz */ - "enable": true, - "radio": 1, - "if": 0 - }, - "chan_multiSF_3": { - /* Lora MAC channel, 125kHz, all SF, 867.1 MHz */ - "enable": true, - "radio": 0, - "if": -400000 - }, - "chan_multiSF_4": { - /* Lora MAC channel, 125kHz, all SF, 867.3 MHz */ - "enable": true, - "radio": 0, - "if": -200000 - }, - "chan_multiSF_5": { - /* Lora MAC channel, 125kHz, all SF, 867.5 MHz */ - "enable": true, - "radio": 0, - "if": 0 - }, - "chan_multiSF_6": { - /* Lora MAC channel, 125kHz, all SF, 867.7 MHz */ - "enable": true, - "radio": 0, - "if": 200000 - }, - "chan_multiSF_7": { - /* Lora MAC channel, 125kHz, all SF, 867.9 MHz */ - "enable": true, - "radio": 0, - "if": 400000 - }, - "chan_Lora_std": { - /* Lora MAC channel, 250kHz, SF7, 868.3 MHz */ - "enable": true, - "radio": 1, - "if": -200000, - "bandwidth": 250000, - "spread_factor": 7 - }, - "chan_FSK": { - /* FSK 50kbps channel, 868.8 MHz */ - "enable": true, - "radio": 1, - "if": 300000, - "bandwidth": 125000, - "datarate": 50000 - }, - "tx_lut_0": { - /* TX gain table, index 0 */ - "pa_gain": 0, - "mix_gain": 11, - "rf_power": -6, - "dig_gain": 0 - }, - "tx_lut_1": { - /* TX gain table, index 1 */ - "pa_gain": 0, - "mix_gain": 13, - "rf_power": -3, - "dig_gain": 0 - }, - "tx_lut_2": { - /* TX gain table, index 2 */ - "pa_gain": 1, - "mix_gain": 9, - "rf_power": 0, - "dig_gain": 0 - }, - "tx_lut_3": { - /* TX gain table, index 3 */ - "pa_gain": 1, - "mix_gain": 10, - "rf_power": 3, - "dig_gain": 0 - }, - "tx_lut_4": { - /* TX gain table, index 4 */ - "pa_gain": 1, - "mix_gain": 12, - "rf_power": 6, - "dig_gain": 0 - }, - "tx_lut_5": { - /* TX gain table, index 5 */ - "pa_gain": 2, - "mix_gain": 10, - "rf_power": 10, - "dig_gain": 0 - }, - "tx_lut_6": { - /* TX gain table, index 6 */ - "pa_gain": 2, - "mix_gain": 11, - "rf_power": 11, - "dig_gain": 0 - }, - "tx_lut_7": { - /* TX gain table, index 7 */ - "pa_gain": 2, - "mix_gain": 11, - "rf_power": 12, - "dig_gain": 0 - }, - "tx_lut_8": { - /* TX gain table, index 8 */ - "pa_gain": 2, - "mix_gain": 12, - "rf_power": 13, - "dig_gain": 2 - }, - "tx_lut_9": { - /* TX gain table, index 9 */ - "pa_gain": 2, - "mix_gain": 13, - "rf_power": 14, - "dig_gain": 0 - }, - "tx_lut_10": { - /* TX gain table, index 10 */ - "pa_gain": 2, - "mix_gain": 15, - "rf_power": 16, - "dig_gain": 0 - }, - "tx_lut_11": { - /* TX gain table, index 11 */ - "pa_gain": 3, - "mix_gain": 10, - "rf_power": 20, - "dig_gain": 0 - }, - "tx_lut_12": { - /* TX gain table, index 12 */ - "pa_gain": 3, - "mix_gain": 12, - "rf_power": 23, - "dig_gain": 0 - }, - "tx_lut_13": { - /* TX gain table, index 13 */ - "pa_gain": 3, - "mix_gain": 13, - "rf_power": 25, - "dig_gain": 0 - }, - "tx_lut_14": { - /* TX gain table, index 14 */ - "pa_gain": 3, - "mix_gain": 15, - "rf_power": 26, - "dig_gain": 0 - }, - "tx_lut_15": { - /* TX gain table, index 15 */ - "pa_gain": 3, - "mix_gain": 15, - "rf_power": 27, - "dig_gain": 0 - } - }, - - "gateway_conf": { - "gateway_ID": "", - /* change with default server address/ports, or overwrite in local_conf.json */ - "server_address": "52.3.215.147", - "serv_port_up": 20000, - "serv_port_down": 20000, - /* adjust the following parameters for your network */ - "keepalive_interval": 10, - "stat_interval": 30, - "push_timeout_ms": 100, - /* forward only valid packets */ - "forward_crc_valid": true, - "forward_crc_error": false, - "forward_crc_disabled": false - } + "SX1301_conf": { + "antenna_gain": 0, + "chan_FSK": { + "bandwidth": 125000, + "datarate": 50000, + "enable": true, + "if": 300000, + "radio": 1 + }, + "chan_Lora_std": { + "bandwidth": 250000, + "enable": true, + "if": -200000, + "radio": 1, + "spread_factor": 7 + }, + "chan_multiSF_0": { + "enable": true, + "if": -400000, + "radio": 1 + }, + "chan_multiSF_1": { + "enable": true, + "if": -200000, + "radio": 1 + }, + "chan_multiSF_2": { + "enable": true, + "if": 0, + "radio": 1 + }, + "chan_multiSF_3": { + "enable": true, + "if": -400000, + "radio": 0 + }, + "chan_multiSF_4": { + "enable": true, + "if": -200000, + "radio": 0 + }, + "chan_multiSF_5": { + "enable": true, + "if": 0, + "radio": 0 + }, + "chan_multiSF_6": { + "enable": true, + "if": 200000, + "radio": 0 + }, + "chan_multiSF_7": { + "enable": true, + "if": 400000, + "radio": 0 + }, + "clksrc": 0, + "lbt_cfg": { + "enable": false, + "rssi_target": 160, + }, + "lorawan_public": true, + "radio_0": { + "enable": true, + "freq": 867500000, + "rssi_offset": -162, + "tx_enable": true, + "tx_freq_max": 870000000, + "tx_freq_min": 863000000, + "type": "SX1257" + }, + "radio_1": { + "enable": true, + "freq": 868500000, + "rssi_offset": -162, + "tx_enable": false, + "type": "SX1257" + }, + "tx_lut_0": { + "dig_gain": 0, + "mix_gain": 11, + "pa_gain": 0, + "rf_power": -6 + }, + "tx_lut_1": { + "dig_gain": 0, + "mix_gain": 13, + "pa_gain": 0, + "rf_power": -3 + }, + "tx_lut_10": { + "dig_gain": 0, + "mix_gain": 15, + "pa_gain": 2, + "rf_power": 16 + }, + "tx_lut_11": { + "dig_gain": 0, + "mix_gain": 10, + "pa_gain": 3, + "rf_power": 20 + }, + "tx_lut_12": { + "dig_gain": 0, + "mix_gain": 12, + "pa_gain": 3, + "rf_power": 23 + }, + "tx_lut_13": { + "dig_gain": 0, + "mix_gain": 13, + "pa_gain": 3, + "rf_power": 25 + }, + "tx_lut_14": { + "dig_gain": 0, + "mix_gain": 15, + "pa_gain": 3, + "rf_power": 26 + }, + "tx_lut_15": { + "dig_gain": 0, + "mix_gain": 15, + "pa_gain": 3, + "rf_power": 27 + }, + "tx_lut_2": { + "dig_gain": 0, + "mix_gain": 9, + "pa_gain": 1, + "rf_power": 0 + }, + "tx_lut_3": { + "dig_gain": 0, + "mix_gain": 10, + "pa_gain": 1, + "rf_power": 3 + }, + "tx_lut_4": { + "dig_gain": 0, + "mix_gain": 12, + "pa_gain": 1, + "rf_power": 6 + }, + "tx_lut_5": { + "dig_gain": 0, + "mix_gain": 10, + "pa_gain": 2, + "rf_power": 10 + }, + "tx_lut_6": { + "dig_gain": 0, + "mix_gain": 11, + "pa_gain": 2, + "rf_power": 11 + }, + "tx_lut_7": { + "dig_gain": 0, + "mix_gain": 11, + "pa_gain": 2, + "rf_power": 12 + }, + "tx_lut_8": { + "dig_gain": 2, + "mix_gain": 12, + "pa_gain": 2, + "rf_power": 13 + }, + "tx_lut_9": { + "dig_gain": 0, + "mix_gain": 13, + "pa_gain": 2, + "rf_power": 14 + } + }, + "gateway_conf": { + "forward_crc_disabled": false, + "forward_crc_error": true, + "forward_crc_valid": true, + "gateway_ID": "", + "keepalive_interval": 10, + "push_timeout_ms": 100, + "serv_port_down": 20000, + "serv_port_up": 20000, + "server_address": "52.3.215.147", + "stat_interval": 30 + } } - diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.IN865.basic.clksrc0 b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.IN865.basic.clksrc0 new file mode 100644 index 0000000..6b39b72 --- /dev/null +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.IN865.basic.clksrc0 @@ -0,0 +1,195 @@ +{ + "SX1301_conf": { + "antenna_gain": 0, + "chan_FSK": { + "bandwidth": 125000, + "datarate": 50000, + "enable": true, + "freq_deviation": 25000, + "if": 300000, + "radio": 1 + }, + "chan_Lora_std": { + "bandwidth": 250000, + "enable": true, + "if": 0, + "radio": 0, + "spread_factor": 7 + }, + "chan_multiSF_": { + "radio": null + }, + "chan_multiSF_0": { + "enable": true, + "if": -137500, + "radio": 0 + }, + "chan_multiSF_1": { + "enable": true, + "if": 202500, + "radio": 0 + }, + "chan_multiSF_2": { + "enable": true, + "if": 32500, + "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 + }, + "clksrc": 0, + "lbt_cfg": { + "enable": false, + "rssi_target": 160 + }, + "lorawan_public": true, + "radio_0": { + "enable": true, + "freq": 865200000, + "rssi_offset": -162, + "tx_enable": true, + "tx_freq_max": 867000000, + "tx_freq_min": 865000000, + "tx_notch_freq": 129000, + "type": "SX1257" + }, + "radio_1": { + "enable": true, + "freq": 866385000, + "rssi_offset": -162, + "tx_enable": false, + "type": "SX1257" + }, + "tx_lut_0": { + "dig_gain": 0, + "mix_gain": 11, + "pa_gain": 0, + "rf_power": -6 + }, + "tx_lut_1": { + "dig_gain": 0, + "mix_gain": 13, + "pa_gain": 0, + "rf_power": -3 + }, + "tx_lut_10": { + "dig_gain": 0, + "mix_gain": 15, + "pa_gain": 2, + "rf_power": 16 + }, + "tx_lut_11": { + "dig_gain": 0, + "mix_gain": 10, + "pa_gain": 3, + "rf_power": 20 + }, + "tx_lut_12": { + "dig_gain": 0, + "mix_gain": 12, + "pa_gain": 3, + "rf_power": 23 + }, + "tx_lut_13": { + "dig_gain": 0, + "mix_gain": 13, + "pa_gain": 3, + "rf_power": 25 + }, + "tx_lut_14": { + "dig_gain": 0, + "mix_gain": 15, + "pa_gain": 3, + "rf_power": 26 + }, + "tx_lut_15": { + "dig_gain": 0, + "mix_gain": 15, + "pa_gain": 3, + "rf_power": 27 + }, + "tx_lut_2": { + "dig_gain": 0, + "mix_gain": 9, + "pa_gain": 1, + "rf_power": 0 + }, + "tx_lut_3": { + "dig_gain": 0, + "mix_gain": 10, + "pa_gain": 1, + "rf_power": 3 + }, + "tx_lut_4": { + "dig_gain": 0, + "mix_gain": 12, + "pa_gain": 1, + "rf_power": 6 + }, + "tx_lut_5": { + "dig_gain": 0, + "mix_gain": 10, + "pa_gain": 2, + "rf_power": 10 + }, + "tx_lut_6": { + "dig_gain": 0, + "mix_gain": 11, + "pa_gain": 2, + "rf_power": 11 + }, + "tx_lut_7": { + "dig_gain": 0, + "mix_gain": 11, + "pa_gain": 2, + "rf_power": 12 + }, + "tx_lut_8": { + "dig_gain": 2, + "mix_gain": 12, + "pa_gain": 2, + "rf_power": 13 + }, + "tx_lut_9": { + "dig_gain": 0, + "mix_gain": 13, + "pa_gain": 2, + "rf_power": 14 + } + }, + "gateway_conf": { + "gateway_ID": "", + "server_address": "52.3.215.147", + "serv_port_up": 20000, + "serv_port_down": 20000, + "forward_crc_disabled": false, + "forward_crc_error": true, + "forward_crc_valid": true, + "keepalive_interval": 10, + "push_timeout_ms": 120, + "stat_interval": 20, + "synch_word": 52 + } +} diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.KR920-LBT.basic.clksrc0 b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.KR920-LBT.basic.clksrc0 new file mode 100644 index 0000000..6e38d0a --- /dev/null +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.KR920-LBT.basic.clksrc0 @@ -0,0 +1,225 @@ +{ + "SX1301_conf": { + "antenna_gain": 0, + "chan_FSK": { + "bandwidth": 125000, + "datarate": 50000, + "enable": false, + "if": 300000, + "radio": 0 + }, + "chan_Lora_std": { + "bandwidth": 250000, + "enable": false, + "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 + }, + "clksrc": 0, + "lbt_cfg": { + "chan_cfg": [ + { + "freq_hz": 922100000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922300000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922500000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922700000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922900000, + "scan_time_us": 5000 + }, + { + "freq_hz": 923100000, + "scan_time_us": 5000 + }, + { + "freq_hz": 923300000, + "scan_time_us": 5000 + }, + { + "freq_hz": 921900000, + "scan_time_us": 5000 + } + ], + "enable": true, + "rssi_target": -65, + "sx127x_rssi_offset": -4 + }, + "lorawan_public": true, + "radio_0": { + "enable": true, + "freq": 922500000, + "rssi_offset": -162, + "tx_enable": true, + "tx_freq_max": 923300000, + "tx_freq_min": 920900000, + "type": "SX1257" + }, + "radio_1": { + "enable": true, + "freq": 922900000, + "rssi_offset": -162, + "tx_enable": false, + "type": "SX1257" + }, + "tx_lut_0": { + "dig_gain": 3, + "mix_gain": 8, + "pa_gain": 0, + "rf_power": -6 + }, + "tx_lut_1": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 0, + "rf_power": -3 + }, + "tx_lut_10": { + "dig_gain": 3, + "mix_gain": 11, + "pa_gain": 2, + "rf_power": 16 + }, + "tx_lut_11": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 3, + "rf_power": 20 + }, + "tx_lut_12": { + "dig_gain": 3, + "mix_gain": 11, + "pa_gain": 3, + "rf_power": 23 + }, + "tx_lut_13": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 3, + "rf_power": 24 + }, + "tx_lut_14": { + "dig_gain": 3, + "mix_gain": 13, + "pa_gain": 3, + "rf_power": 25 + }, + "tx_lut_15": { + "dig_gain": 3, + "mix_gain": 15, + "pa_gain": 3, + "rf_power": 26 + }, + "tx_lut_2": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 0, + "rf_power": 0 + }, + "tx_lut_3": { + "dig_gain": 3, + "mix_gain": 8, + "pa_gain": 1, + "rf_power": 3 + }, + "tx_lut_4": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 1, + "rf_power": 6 + }, + "tx_lut_5": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 1, + "rf_power": 10 + }, + "tx_lut_6": { + "dig_gain": 3, + "mix_gain": 12, + "pa_gain": 1, + "rf_power": 11 + }, + "tx_lut_7": { + "dig_gain": 3, + "mix_gain": 9, + "pa_gain": 2, + "rf_power": 12 + }, + "tx_lut_8": { + "dig_gain": 3, + "mix_gain": 15, + "pa_gain": 1, + "rf_power": 13 + }, + "tx_lut_9": { + "dig_gain": 3, + "mix_gain": 10, + "pa_gain": 2, + "rf_power": 14 + } + }, + "gateway_conf": { + "gateway_ID": "", + "server_address": "52.3.215.147", + "serv_port_up": 20000, + "serv_port_down": 20000, + "forward_crc_disabled": false, + "forward_crc_error": true, + "forward_crc_valid": true, + "keepalive_interval": 10, + "push_timeout_ms": 120, + "stat_interval": 20, + "synch_word": 52 + } +} diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.US915.basic.clksrc0 b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.US915.basic.clksrc0 index 08f1c5e..d14212b 100644 --- a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.US915.basic.clksrc0 +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.0.0.MTAC_LORA_1_5.US915.basic.clksrc0 @@ -6,7 +6,7 @@ "radio_0": { "enable": true, "freq": 902700000, - "rssi_offset": -165, + "rssi_offset": -162, "tx_enable": true, "tx_freq_max": 928000000, "tx_freq_min": 902000000, @@ -15,7 +15,7 @@ "radio_1": { "enable": true, "freq": 903500000, - "rssi_offset": -165, + "rssi_offset": -162, "tx_enable": false, "type": "SX1257" }, @@ -178,7 +178,7 @@ }, "gateway_conf": { "forward_crc_disabled": false, - "forward_crc_error": false, + "forward_crc_error": true, "forward_crc_valid": true, "gateway_ID": "", "keepalive_interval": 12, diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.AS923-LBT.basic b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.AS923-LBT.basic new file mode 100644 index 0000000..4a4a18e --- /dev/null +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.AS923-LBT.basic @@ -0,0 +1,242 @@ +{ + "SX1301_conf": { + "antenna_gain": 0, + "chan_FSK": { + "bandwidth": 125000, + "datarate": 50000, + "enable": true, + "freq_deviation": 25000, + "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 + }, + "clksrc": 0, + "lbt_cfg": { + "chan_cfg": [ + { + "freq_hz": 923200000, + "scan_time_us": 5000 + }, + { + "freq_hz": 923400000, + "scan_time_us": 5000 + }, + { + "freq_hz": 923600000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922200000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922400000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922600000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922800000, + "scan_time_us": 5000 + }, + { + "freq_hz": 923000000, + "scan_time_us": 5000 + } + ], + "enable": true, + "rssi_target": -80, + "sx127x_rssi_offset": -4 + }, + "lorawan_public": true, + "radio_0": { + "enable": true, + "freq": 923600000, + "rssi_offset": -162, + "tx_enable": true, + "tx_freq_max": 928000000, + "tx_freq_min": 920000000, + "type": "SX1257" + }, + "radio_1": { + "enable": true, + "freq": 922600000, + "rssi_offset": -162, + "tx_enable": false, + "type": "SX1257" + }, + "tx_lut_0" : + { + "dig_gain" : 2, + "mix_gain" : 9, + "pa_gain" : 0, + "rf_power" : -6 + }, + "tx_lut_1" : + { + "dig_gain" : 0, + "mix_gain" : 9, + "pa_gain" : 0, + "rf_power" : -3 + }, + "tx_lut_10" : + { + "dig_gain" : 0, + "mix_gain" : 10, + "pa_gain" : 2, + "rf_power" : 16 + }, + "tx_lut_11" : + { + "dig_gain" : 0, + "mix_gain" : 14, + "pa_gain" : 2, + "rf_power" : 20 + }, + "tx_lut_12" : + { + "dig_gain" : 0, + "mix_gain" : 8, + "pa_gain" : 3, + "rf_power" : 23 + }, + "tx_lut_13" : + { + "dig_gain" : 3, + "mix_gain" : 13, + "pa_gain" : 3, + "rf_power" : 25 + }, + "tx_lut_14" : + { + "dig_gain" : 0, + "mix_gain" : 12, + "pa_gain" : 3, + "rf_power" : 26 + }, + "tx_lut_15" : + { + "dig_gain" : 0, + "mix_gain" : 15, + "pa_gain" : 3, + "rf_power" : 27 + }, + "tx_lut_2" : + { + "dig_gain" : 2, + "mix_gain" : 13, + "pa_gain" : 0, + "rf_power" : 0 + }, + "tx_lut_3" : + { + "dig_gain" : 3, + "mix_gain" : 10, + "pa_gain" : 1, + "rf_power" : 3 + }, + "tx_lut_4" : + { + "dig_gain" : 2, + "mix_gain" : 10, + "pa_gain" : 1, + "rf_power" : 6 + }, + "tx_lut_5" : + { + "dig_gain" : 3, + "mix_gain" : 15, + "pa_gain" : 1, + "rf_power" : 10 + }, + "tx_lut_6" : + { + "dig_gain" : 0, + "mix_gain" : 13, + "pa_gain" : 1, + "rf_power" : 11 + }, + "tx_lut_7" : + { + "dig_gain" : 0, + "mix_gain" : 15, + "pa_gain" : 1, + "rf_power" : 12 + }, + "tx_lut_8" : + { + "dig_gain" : 0, + "mix_gain" : 8, + "pa_gain" : 2, + "rf_power" : 13 + }, + "tx_lut_9" : + { + "dig_gain" : 3, + "mix_gain" : 12, + "pa_gain" : 2, + "rf_power" : 14 + } + }, + "gateway_conf": { + "gateway_ID": "", + "server_address": "52.3.215.147", + "serv_port_up": 20000, + "serv_port_down": 20000, + "forward_crc_disabled": false, + "forward_crc_error": true, + "forward_crc_valid": true, + "keepalive_interval": 10, + "push_timeout_ms": 120, + "stat_interval": 20, + "synch_word": 52 + } +} diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.AS923.basic b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.AS923.basic new file mode 100644 index 0000000..8409f9b --- /dev/null +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.AS923.basic @@ -0,0 +1,210 @@ +{ + "SX1301_conf": { + "antenna_gain": 0, + "chan_FSK": { + "bandwidth": 125000, + "datarate": 50000, + "enable": true, + "freq_deviation": 25000, + "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 + }, + "clksrc": 0, + "lbt_cfg": { + "chan_cfg": [ + ], + "enable": false, + "rssi_target": -80, + "sx127x_rssi_offset": -4 + }, + "lorawan_public": true, + "radio_0": { + "enable": true, + "freq": 923600000, + "rssi_offset": -162, + "tx_enable": true, + "tx_freq_max": 928000000, + "tx_freq_min": 920000000, + "type": "SX1257" + }, + "radio_1": { + "enable": true, + "freq": 922600000, + "rssi_offset": -162, + "tx_enable": false, + "type": "SX1257" + }, + "tx_lut_0" : + { + "dig_gain" : 2, + "mix_gain" : 9, + "pa_gain" : 0, + "rf_power" : -6 + }, + "tx_lut_1" : + { + "dig_gain" : 0, + "mix_gain" : 9, + "pa_gain" : 0, + "rf_power" : -3 + }, + "tx_lut_10" : + { + "dig_gain" : 0, + "mix_gain" : 10, + "pa_gain" : 2, + "rf_power" : 16 + }, + "tx_lut_11" : + { + "dig_gain" : 0, + "mix_gain" : 14, + "pa_gain" : 2, + "rf_power" : 20 + }, + "tx_lut_12" : + { + "dig_gain" : 0, + "mix_gain" : 8, + "pa_gain" : 3, + "rf_power" : 23 + }, + "tx_lut_13" : + { + "dig_gain" : 3, + "mix_gain" : 13, + "pa_gain" : 3, + "rf_power" : 25 + }, + "tx_lut_14" : + { + "dig_gain" : 0, + "mix_gain" : 12, + "pa_gain" : 3, + "rf_power" : 26 + }, + "tx_lut_15" : + { + "dig_gain" : 0, + "mix_gain" : 15, + "pa_gain" : 3, + "rf_power" : 27 + }, + "tx_lut_2" : + { + "dig_gain" : 2, + "mix_gain" : 13, + "pa_gain" : 0, + "rf_power" : 0 + }, + "tx_lut_3" : + { + "dig_gain" : 3, + "mix_gain" : 10, + "pa_gain" : 1, + "rf_power" : 3 + }, + "tx_lut_4" : + { + "dig_gain" : 2, + "mix_gain" : 10, + "pa_gain" : 1, + "rf_power" : 6 + }, + "tx_lut_5" : + { + "dig_gain" : 3, + "mix_gain" : 15, + "pa_gain" : 1, + "rf_power" : 10 + }, + "tx_lut_6" : + { + "dig_gain" : 0, + "mix_gain" : 13, + "pa_gain" : 1, + "rf_power" : 11 + }, + "tx_lut_7" : + { + "dig_gain" : 0, + "mix_gain" : 15, + "pa_gain" : 1, + "rf_power" : 12 + }, + "tx_lut_8" : + { + "dig_gain" : 0, + "mix_gain" : 8, + "pa_gain" : 2, + "rf_power" : 13 + }, + "tx_lut_9" : + { + "dig_gain" : 3, + "mix_gain" : 12, + "pa_gain" : 2, + "rf_power" : 14 + } + }, + "gateway_conf": { + "gateway_ID": "", + "server_address": "52.3.215.147", + "serv_port_up": 20000, + "serv_port_down": 20000, + "forward_crc_disabled": false, + "forward_crc_error": true, + "forward_crc_valid": true, + "keepalive_interval": 10, + "push_timeout_ms": 120, + "stat_interval": 20, + "synch_word": 52 + } +} diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.AU915.basic b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.AU915.basic new file mode 100644 index 0000000..05ce7b3 --- /dev/null +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.AU915.basic @@ -0,0 +1,208 @@ +{ + "SX1301_conf": { + "lorawan_public": true, + "antenna_gain": 0, + "clksrc": 0, + "radio_0": { + "enable": true, + "freq": 915600000, + "rssi_offset": -162, + "tx_enable": true, + "tx_freq_max": 928000000, + "tx_freq_min": 902000000, + "type": "SX1257" + }, + "radio_1": { + "enable": true, + "freq": 916400000, + "rssi_offset": -162, + "tx_enable": false, + "type": "SX1257" + }, + "chan_FSK": { + "enable": false, + "radio": 0 + }, + "chan_Lora_std": { + "bandwidth": 500000, + "enable": true, + "if": 300000, + "radio": 0, + "spread_factor": 8 + }, + "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": 200000, + "radio": 0 + }, + "chan_multiSF_4": { + "enable": true, + "if": -400000, + "radio": 1 + }, + "chan_multiSF_5": { + "enable": true, + "if": -200000, + "radio": 1 + }, + "chan_multiSF_6": { + "enable": true, + "if": 0, + "radio": 1 + }, + "chan_multiSF_7": { + "enable": true, + "if": 200000, + "radio": 1 + }, + "lbt_cfg": { + "enable": false, + "nb_channel": 1, + "rssi_target": 160, + "scan_time_us": 5000, + "start_freq": 869525000, + "tx_delay_1ch_us": 4000000, + "tx_delay_2ch_us": 4000000 + }, + "tx_lut_0" : + { + "dig_gain" : 2, + "mix_gain" : 9, + "pa_gain" : 0, + "rf_power" : -6 + }, + "tx_lut_1" : + { + "dig_gain" : 0, + "mix_gain" : 9, + "pa_gain" : 0, + "rf_power" : -3 + }, + "tx_lut_10" : + { + "dig_gain" : 0, + "mix_gain" : 10, + "pa_gain" : 2, + "rf_power" : 16 + }, + "tx_lut_11" : + { + "dig_gain" : 0, + "mix_gain" : 14, + "pa_gain" : 2, + "rf_power" : 20 + }, + "tx_lut_12" : + { + "dig_gain" : 0, + "mix_gain" : 8, + "pa_gain" : 3, + "rf_power" : 23 + }, + "tx_lut_13" : + { + "dig_gain" : 3, + "mix_gain" : 13, + "pa_gain" : 3, + "rf_power" : 25 + }, + "tx_lut_14" : + { + "dig_gain" : 0, + "mix_gain" : 12, + "pa_gain" : 3, + "rf_power" : 26 + }, + "tx_lut_15" : + { + "dig_gain" : 0, + "mix_gain" : 15, + "pa_gain" : 3, + "rf_power" : 27 + }, + "tx_lut_2" : + { + "dig_gain" : 2, + "mix_gain" : 13, + "pa_gain" : 0, + "rf_power" : 0 + }, + "tx_lut_3" : + { + "dig_gain" : 3, + "mix_gain" : 10, + "pa_gain" : 1, + "rf_power" : 3 + }, + "tx_lut_4" : + { + "dig_gain" : 2, + "mix_gain" : 10, + "pa_gain" : 1, + "rf_power" : 6 + }, + "tx_lut_5" : + { + "dig_gain" : 3, + "mix_gain" : 15, + "pa_gain" : 1, + "rf_power" : 10 + }, + "tx_lut_6" : + { + "dig_gain" : 0, + "mix_gain" : 13, + "pa_gain" : 1, + "rf_power" : 11 + }, + "tx_lut_7" : + { + "dig_gain" : 0, + "mix_gain" : 15, + "pa_gain" : 1, + "rf_power" : 12 + }, + "tx_lut_8" : + { + "dig_gain" : 0, + "mix_gain" : 8, + "pa_gain" : 2, + "rf_power" : 13 + }, + "tx_lut_9" : + { + "dig_gain" : 3, + "mix_gain" : 12, + "pa_gain" : 2, + "rf_power" : 14 + } + }, + "gateway_conf": { + "forward_crc_disabled": false, + "forward_crc_error": true, + "forward_crc_valid": true, + "gateway_ID": "", + "keepalive_interval": 12, + "push_timeout_ms": 120, + "serv_port_down": 20000, + "serv_port_up": 20000, + "server_address": "52.3.215.147", + "stat_interval": 20, + "synch_word": 52 + } +} diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.EU868.basic b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.EU868.basic index 7f21c70..6a5637f 100644 --- a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.EU868.basic +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.EU868.basic @@ -1,195 +1,195 @@ { - "SX1301_conf": { - "lorawan_public": true, - "clksrc": 0, - "lbt_cfg": { - "enable": false, - "rssi_target": 160, - "nb_channel": 1, - "start_freq": 869525000, - "scan_time_us": 5000, - "tx_delay_1ch_us": 4000000, - "tx_delay_2ch_us": 4000000 - }, - "antenna_gain": 0, - "radio_0": { - "enable": true, - "type": "SX1257", - "freq": 867500000, - "rssi_offset": -165.0, - "tx_enable": true, - "tx_freq_min": 863000000, - "tx_freq_max": 870000000 - }, - "radio_1": { - "enable": true, - "type": "SX1257", - "freq": 868500000, - "rssi_offset": -165.0, - "tx_enable": false - }, - "chan_multiSF_0": { - "enable": true, - "radio": 1, - "if": -400000 - }, - "chan_multiSF_1": { - "enable": true, - "radio": 1, - "if": -200000 - }, - "chan_multiSF_2": { - "enable": true, - "radio": 1, - "if": 0 - }, - "chan_multiSF_3": { - "enable": true, - "radio": 0, - "if": -400000 - }, - "chan_multiSF_4": { - "enable": true, - "radio": 0, - "if": -200000 - }, - "chan_multiSF_5": { - "enable": true, - "radio": 0, - "if": 0 - }, - "chan_multiSF_6": { - "enable": true, - "radio": 0, - "if": 200000 - }, - "chan_multiSF_7": { - "enable": true, - "radio": 0, - "if": 400000 - }, - "chan_Lora_std": { - "enable": true, - "radio": 1, - "if": -200000, - "bandwidth": 250000, - "spread_factor": 7 - }, - "chan_FSK": { - "enable": true, - "radio": 1, - "if": 300000, - "bandwidth": 125000, - "datarate": 50000 - }, - "tx_lut_0": { - "pa_gain": 0, - "mix_gain": 9, - "rf_power": -6, - "dig_gain": 1 - }, - "tx_lut_1": { - "pa_gain": 0, - "mix_gain": 12, - "rf_power": -3, - "dig_gain": 1 - }, - "tx_lut_2": { - "pa_gain": 1, - "mix_gain": 8, - "rf_power": 0, - "dig_gain": 2 - }, - "tx_lut_3": { - "pa_gain": 1, - "mix_gain": 11, - "rf_power": 3, - "dig_gain": 3 - }, - "tx_lut_4": { - "pa_gain": 1, - "mix_gain": 10, - "rf_power": 6, - "dig_gain": 0 - }, - "tx_lut_5": { - "pa_gain": 2, - "mix_gain": 11, - "rf_power": 10, - "dig_gain": 3 - }, - "tx_lut_6": { - "pa_gain": 2, - "mix_gain": 9, - "rf_power": 11, - "dig_gain": 1 - }, - "tx_lut_7": { - "pa_gain": 2, - "mix_gain": 9, - "rf_power": 12, - "dig_gain": 0 - }, - "tx_lut_8": { - "pa_gain": 2, - "mix_gain": 11, - "rf_power": 13, - "dig_gain": 2 - }, - "tx_lut_9": { - "pa_gain": 2, - "mix_gain": 11, - "rf_power": 14, - "dig_gain": 1 - }, - "tx_lut_10": { - "pa_gain": 2, - "mix_gain": 12, - "rf_power": 16, - "dig_gain": 0 - }, - "tx_lut_11": { - "pa_gain": 3, - "mix_gain": 10, - "rf_power": 20, - "dig_gain": 3 - }, - "tx_lut_12": { - "pa_gain": 3, - "mix_gain": 9, - "rf_power": 23, - "dig_gain": 0 - }, - "tx_lut_13": { - "pa_gain": 3, - "mix_gain": 12, - "rf_power": 25, - "dig_gain": 2 - }, - "tx_lut_14": { - "pa_gain": 3, - "mix_gain": 13, - "rf_power": 26, - "dig_gain": 0 - }, - "tx_lut_15": { - "pa_gain": 3, - "mix_gain": 15, - "rf_power": 27, - "dig_gain": 0 - } - }, - "gateway_conf": { - "gateway_ID": "", - "server_address": "52.3.215.147", - "serv_port_up": 20000, - "serv_port_down": 20000, - "keepalive_interval": 10, - "stat_interval": 30, - "push_timeout_ms": 100, - "forward_crc_valid": true, - "forward_crc_error": false, - "forward_crc_disabled": false - } + "SX1301_conf": { + "lorawan_public": true, + "clksrc": 0, + "lbt_cfg": { + "enable": false, + "rssi_target": 160, + "nb_channel": 1, + "start_freq": 869525000, + "scan_time_us": 5000, + "tx_delay_1ch_us": 4000000, + "tx_delay_2ch_us": 4000000 + }, + "antenna_gain": 0, + "radio_0": { + "enable": true, + "type": "SX1257", + "freq": 867500000, + "rssi_offset": -162, + "tx_enable": true, + "tx_freq_min": 863000000, + "tx_freq_max": 870000000 + }, + "radio_1": { + "enable": true, + "type": "SX1257", + "freq": 868500000, + "rssi_offset": -162, + "tx_enable": false + }, + "chan_multiSF_0": { + "enable": true, + "radio": 1, + "if": -400000 + }, + "chan_multiSF_1": { + "enable": true, + "radio": 1, + "if": -200000 + }, + "chan_multiSF_2": { + "enable": true, + "radio": 1, + "if": 0 + }, + "chan_multiSF_3": { + "enable": true, + "radio": 0, + "if": -400000 + }, + "chan_multiSF_4": { + "enable": true, + "radio": 0, + "if": -200000 + }, + "chan_multiSF_5": { + "enable": true, + "radio": 0, + "if": 0 + }, + "chan_multiSF_6": { + "enable": true, + "radio": 0, + "if": 200000 + }, + "chan_multiSF_7": { + "enable": true, + "radio": 0, + "if": 400000 + }, + "chan_Lora_std": { + "enable": true, + "radio": 1, + "if": -200000, + "bandwidth": 250000, + "spread_factor": 7 + }, + "chan_FSK": { + "enable": true, + "radio": 1, + "if": 300000, + "bandwidth": 125000, + "datarate": 50000 + }, + "tx_lut_0": { + "pa_gain": 0, + "mix_gain": 9, + "rf_power": -6, + "dig_gain": 1 + }, + "tx_lut_1": { + "pa_gain": 0, + "mix_gain": 12, + "rf_power": -3, + "dig_gain": 1 + }, + "tx_lut_2": { + "pa_gain": 1, + "mix_gain": 8, + "rf_power": 0, + "dig_gain": 2 + }, + "tx_lut_3": { + "pa_gain": 1, + "mix_gain": 11, + "rf_power": 3, + "dig_gain": 3 + }, + "tx_lut_4": { + "pa_gain": 1, + "mix_gain": 10, + "rf_power": 6, + "dig_gain": 0 + }, + "tx_lut_5": { + "pa_gain": 2, + "mix_gain": 11, + "rf_power": 10, + "dig_gain": 3 + }, + "tx_lut_6": { + "pa_gain": 2, + "mix_gain": 9, + "rf_power": 11, + "dig_gain": 1 + }, + "tx_lut_7": { + "pa_gain": 2, + "mix_gain": 9, + "rf_power": 12, + "dig_gain": 0 + }, + "tx_lut_8": { + "pa_gain": 2, + "mix_gain": 11, + "rf_power": 13, + "dig_gain": 2 + }, + "tx_lut_9": { + "pa_gain": 2, + "mix_gain": 11, + "rf_power": 14, + "dig_gain": 1 + }, + "tx_lut_10": { + "pa_gain": 2, + "mix_gain": 12, + "rf_power": 16, + "dig_gain": 0 + }, + "tx_lut_11": { + "pa_gain": 3, + "mix_gain": 10, + "rf_power": 20, + "dig_gain": 3 + }, + "tx_lut_12": { + "pa_gain": 3, + "mix_gain": 9, + "rf_power": 23, + "dig_gain": 0 + }, + "tx_lut_13": { + "pa_gain": 3, + "mix_gain": 12, + "rf_power": 25, + "dig_gain": 2 + }, + "tx_lut_14": { + "pa_gain": 3, + "mix_gain": 13, + "rf_power": 26, + "dig_gain": 0 + }, + "tx_lut_15": { + "pa_gain": 3, + "mix_gain": 15, + "rf_power": 27, + "dig_gain": 0 + } + }, + "gateway_conf": { + "gateway_ID": "", + "server_address": "52.3.215.147", + "serv_port_up": 20000, + "serv_port_down": 20000, + "keepalive_interval": 10, + "stat_interval": 30, + "push_timeout_ms": 100, + "forward_crc_valid": true, + "forward_crc_error": true, + "forward_crc_disabled": false + } } diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.IN865.basic b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.IN865.basic new file mode 100644 index 0000000..a5e6ed8 --- /dev/null +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.IN865.basic @@ -0,0 +1,211 @@ +{ + "SX1301_conf": { + "antenna_gain": 0, + "chan_FSK": { + "bandwidth": 125000, + "datarate": 50000, + "enable": true, + "freq_deviation": 25000, + "if": 300000, + "radio": 1 + }, + "chan_Lora_std": { + "bandwidth": 250000, + "enable": true, + "if": 0, + "radio": 0, + "spread_factor": 7 + }, + "chan_multiSF_": { + "radio": null + }, + "chan_multiSF_0": { + "enable": true, + "if": -137500, + "radio": 0 + }, + "chan_multiSF_1": { + "enable": true, + "if": 202500, + "radio": 0 + }, + "chan_multiSF_2": { + "enable": true, + "if": 32500, + "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 + }, + "clksrc": 0, + "lbt_cfg": { + "enable": false, + "rssi_target": 160 + }, + "lorawan_public": true, + "radio_0": { + "enable": true, + "freq": 865200000, + "rssi_offset": -162, + "tx_enable": true, + "tx_freq_max": 867000000, + "tx_freq_min": 865000000, + "tx_notch_freq": 129000, + "type": "SX1257" + }, + "radio_1": { + "enable": true, + "freq": 866385000, + "rssi_offset": -162, + "tx_enable": false, + "type": "SX1257" + }, + "tx_lut_0" : + { + "dig_gain" : 2, + "mix_gain" : 9, + "pa_gain" : 0, + "rf_power" : -6 + }, + "tx_lut_1" : + { + "dig_gain" : 0, + "mix_gain" : 9, + "pa_gain" : 0, + "rf_power" : -3 + }, + "tx_lut_10" : + { + "dig_gain" : 0, + "mix_gain" : 10, + "pa_gain" : 2, + "rf_power" : 16 + }, + "tx_lut_11" : + { + "dig_gain" : 0, + "mix_gain" : 14, + "pa_gain" : 2, + "rf_power" : 20 + }, + "tx_lut_12" : + { + "dig_gain" : 0, + "mix_gain" : 8, + "pa_gain" : 3, + "rf_power" : 23 + }, + "tx_lut_13" : + { + "dig_gain" : 3, + "mix_gain" : 13, + "pa_gain" : 3, + "rf_power" : 25 + }, + "tx_lut_14" : + { + "dig_gain" : 0, + "mix_gain" : 12, + "pa_gain" : 3, + "rf_power" : 26 + }, + "tx_lut_15" : + { + "dig_gain" : 0, + "mix_gain" : 15, + "pa_gain" : 3, + "rf_power" : 27 + }, + "tx_lut_2" : + { + "dig_gain" : 2, + "mix_gain" : 13, + "pa_gain" : 0, + "rf_power" : 0 + }, + "tx_lut_3" : + { + "dig_gain" : 3, + "mix_gain" : 10, + "pa_gain" : 1, + "rf_power" : 3 + }, + "tx_lut_4" : + { + "dig_gain" : 2, + "mix_gain" : 10, + "pa_gain" : 1, + "rf_power" : 6 + }, + "tx_lut_5" : + { + "dig_gain" : 3, + "mix_gain" : 15, + "pa_gain" : 1, + "rf_power" : 10 + }, + "tx_lut_6" : + { + "dig_gain" : 0, + "mix_gain" : 13, + "pa_gain" : 1, + "rf_power" : 11 + }, + "tx_lut_7" : + { + "dig_gain" : 0, + "mix_gain" : 15, + "pa_gain" : 1, + "rf_power" : 12 + }, + "tx_lut_8" : + { + "dig_gain" : 0, + "mix_gain" : 8, + "pa_gain" : 2, + "rf_power" : 13 + }, + "tx_lut_9" : + { + "dig_gain" : 3, + "mix_gain" : 12, + "pa_gain" : 2, + "rf_power" : 14 + } + }, + "gateway_conf": { + "gateway_ID": "", + "server_address": "52.3.215.147", + "serv_port_up": 20000, + "serv_port_down": 20000, + "forward_crc_disabled": false, + "forward_crc_error": true, + "forward_crc_valid": true, + "keepalive_interval": 10, + "push_timeout_ms": 120, + "stat_interval": 20, + "synch_word": 52 + } +} diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.KR920-LBT.basic b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.KR920-LBT.basic new file mode 100644 index 0000000..6e1c51b --- /dev/null +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.KR920-LBT.basic @@ -0,0 +1,241 @@ +{ + "SX1301_conf": { + "antenna_gain": 0, + "chan_FSK": { + "bandwidth": 125000, + "datarate": 50000, + "enable": false, + "if": 300000, + "radio": 0 + }, + "chan_Lora_std": { + "bandwidth": 250000, + "enable": false, + "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 + }, + "clksrc": 0, + "lbt_cfg": { + "chan_cfg": [ + { + "freq_hz": 922100000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922300000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922500000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922700000, + "scan_time_us": 5000 + }, + { + "freq_hz": 922900000, + "scan_time_us": 5000 + }, + { + "freq_hz": 923100000, + "scan_time_us": 5000 + }, + { + "freq_hz": 923300000, + "scan_time_us": 5000 + }, + { + "freq_hz": 921900000, + "scan_time_us": 5000 + } + ], + "enable": true, + "rssi_target": -65, + "sx127x_rssi_offset": -4 + }, + "lorawan_public": true, + "radio_0": { + "enable": true, + "freq": 922500000, + "rssi_offset": -162, + "tx_enable": true, + "tx_freq_max": 923300000, + "tx_freq_min": 920900000, + "type": "SX1257" + }, + "radio_1": { + "enable": true, + "freq": 922900000, + "rssi_offset": -162, + "tx_enable": false, + "type": "SX1257" + }, + "tx_lut_0" : + { + "dig_gain" : 2, + "mix_gain" : 9, + "pa_gain" : 0, + "rf_power" : -6 + }, + "tx_lut_1" : + { + "dig_gain" : 0, + "mix_gain" : 9, + "pa_gain" : 0, + "rf_power" : -3 + }, + "tx_lut_10" : + { + "dig_gain" : 0, + "mix_gain" : 10, + "pa_gain" : 2, + "rf_power" : 16 + }, + "tx_lut_11" : + { + "dig_gain" : 0, + "mix_gain" : 14, + "pa_gain" : 2, + "rf_power" : 20 + }, + "tx_lut_12" : + { + "dig_gain" : 0, + "mix_gain" : 8, + "pa_gain" : 3, + "rf_power" : 23 + }, + "tx_lut_13" : + { + "dig_gain" : 3, + "mix_gain" : 13, + "pa_gain" : 3, + "rf_power" : 25 + }, + "tx_lut_14" : + { + "dig_gain" : 0, + "mix_gain" : 12, + "pa_gain" : 3, + "rf_power" : 26 + }, + "tx_lut_15" : + { + "dig_gain" : 0, + "mix_gain" : 15, + "pa_gain" : 3, + "rf_power" : 27 + }, + "tx_lut_2" : + { + "dig_gain" : 2, + "mix_gain" : 13, + "pa_gain" : 0, + "rf_power" : 0 + }, + "tx_lut_3" : + { + "dig_gain" : 3, + "mix_gain" : 10, + "pa_gain" : 1, + "rf_power" : 3 + }, + "tx_lut_4" : + { + "dig_gain" : 2, + "mix_gain" : 10, + "pa_gain" : 1, + "rf_power" : 6 + }, + "tx_lut_5" : + { + "dig_gain" : 3, + "mix_gain" : 15, + "pa_gain" : 1, + "rf_power" : 10 + }, + "tx_lut_6" : + { + "dig_gain" : 0, + "mix_gain" : 13, + "pa_gain" : 1, + "rf_power" : 11 + }, + "tx_lut_7" : + { + "dig_gain" : 0, + "mix_gain" : 15, + "pa_gain" : 1, + "rf_power" : 12 + }, + "tx_lut_8" : + { + "dig_gain" : 0, + "mix_gain" : 8, + "pa_gain" : 2, + "rf_power" : 13 + }, + "tx_lut_9" : + { + "dig_gain" : 3, + "mix_gain" : 12, + "pa_gain" : 2, + "rf_power" : 14 + } + }, + "gateway_conf": { + "gateway_ID": "", + "server_address": "52.3.215.147", + "serv_port_up": 20000, + "serv_port_down": 20000, + "forward_crc_disabled": false, + "forward_crc_error": true, + "forward_crc_valid": true, + "keepalive_interval": 10, + "push_timeout_ms": 120, + "stat_interval": 20, + "synch_word": 52 + } +} diff --git a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.US915.basic b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.US915.basic index 5537b0f..3209f6e 100644 --- a/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.US915.basic +++ b/recipes-connectivity/lora/lora-packet-forwarder/global_conf.json.3.1.0.MTCAP-LORA-1-5.US915.basic @@ -218,7 +218,7 @@ "stat_interval": 30, "push_timeout_ms": 100, "forward_crc_valid": true, - "forward_crc_error": false, + "forward_crc_error": true, "forward_crc_disabled": false } } diff --git a/recipes-connectivity/lora/lora-packet-forwarder_3.1.0.bb b/recipes-connectivity/lora/lora-packet-forwarder_3.1.0.bb index eefd0e5..4aa7e98 100644 --- a/recipes-connectivity/lora/lora-packet-forwarder_3.1.0.bb +++ b/recipes-connectivity/lora/lora-packet-forwarder_3.1.0.bb @@ -20,8 +20,18 @@ SRC_URI = "git://github.com/Lora-net/packet_forwarder.git;protocol=git \ file://global_conf.json.3.0.0.MTAC_LORA_1_0.US915.basic.clksrc0 \ file://global_conf.json.3.0.0.MTAC_LORA_1_5.EU868.basic.clksrc0 \ file://global_conf.json.3.0.0.MTAC_LORA_1_5.US915.basic.clksrc0 \ + file://global_conf.json.3.0.0.MTAC_LORA_1_5.AS923.basic.clksrc0 \ + file://global_conf.json.3.0.0.MTAC_LORA_1_5.AS923-LBT.basic.clksrc0 \ + file://global_conf.json.3.0.0.MTAC_LORA_1_5.KR920-LBT.basic.clksrc0 \ + file://global_conf.json.3.0.0.MTAC_LORA_1_5.IN865.basic.clksrc0 \ + file://global_conf.json.3.0.0.MTAC_LORA_1_5.AU915.basic.clksrc0 \ file://global_conf.json.3.1.0.MTCAP-LORA-1-5.EU868.basic \ file://global_conf.json.3.1.0.MTCAP-LORA-1-5.US915.basic \ + file://global_conf.json.3.1.0.MTCAP-LORA-1-5.AU915.basic \ + file://global_conf.json.3.1.0.MTCAP-LORA-1-5.AS923.basic \ + file://global_conf.json.3.1.0.MTCAP-LORA-1-5.AS923-LBT.basic \ + file://global_conf.json.3.1.0.MTCAP-LORA-1-5.IN865.basic \ + file://global_conf.json.3.1.0.MTCAP-LORA-1-5.KR920-LBT.basic \ file://local_conf.json \ file://lora-packet-forwarder-add-spi-dev-path.patch \ file://lora-packet-forwarder-remove-jit-power-check.patch \ @@ -67,11 +77,21 @@ do_install_append_mtcdt() { install -m 755 ${WORKDIR}/global_conf.json.3.0.0.MTAC_LORA_1_5.EU868.basic.clksrc0 ${D}${LORA_DIR}/global_conf.json.MTAC_LORA_1_5.EU868 install -m 755 ${WORKDIR}/global_conf.json.3.0.0.MTAC_LORA_1_0.US915.basic.clksrc0 ${D}${LORA_DIR}/global_conf.json.MTAC_LORA_1_0.US915 install -m 755 ${WORKDIR}/global_conf.json.3.0.0.MTAC_LORA_1_5.US915.basic.clksrc0 ${D}${LORA_DIR}/global_conf.json.MTAC_LORA_1_5.US915 + install -m 755 ${WORKDIR}/global_conf.json.3.0.0.MTAC_LORA_1_5.AU915.basic.clksrc0 ${D}${LORA_DIR}/global_conf.json.MTAC_LORA_1_5.AU915 + install -m 755 ${WORKDIR}/global_conf.json.3.0.0.MTAC_LORA_1_5.AS923.basic.clksrc0 ${D}${LORA_DIR}/global_conf.json.MTAC_LORA_1_5.AS923 + install -m 755 ${WORKDIR}/global_conf.json.3.0.0.MTAC_LORA_1_5.AS923-LBT.basic.clksrc0 ${D}${LORA_DIR}/global_conf.json.MTAC_LORA_1_5.AS923-LBT + install -m 755 ${WORKDIR}/global_conf.json.3.0.0.MTAC_LORA_1_5.KR920-LBT.basic.clksrc0 ${D}${LORA_DIR}/global_conf.json.MTAC_LORA_1_5.KR920-LBT + install -m 755 ${WORKDIR}/global_conf.json.3.0.0.MTAC_LORA_1_5.IN865.basic.clksrc0 ${D}${LORA_DIR}/global_conf.json.MTAC_LORA_1_5.IN865 } do_install_append_mtcap() { install -m 755 ${WORKDIR}/global_conf.json.3.1.0.MTCAP-LORA-1-5.EU868.basic ${D}${LORA_DIR}/global_conf.json.MTCAP_LORA_1_5.EU868 install -m 755 ${WORKDIR}/global_conf.json.3.1.0.MTCAP-LORA-1-5.US915.basic ${D}${LORA_DIR}/global_conf.json.MTCAP_LORA_1_5.US915 + install -m 755 ${WORKDIR}/global_conf.json.3.1.0.MTCAP-LORA-1-5.AU915.basic ${D}${LORA_DIR}/global_conf.json.MTCAP_LORA_1_5.AU915 + install -m 755 ${WORKDIR}/global_conf.json.3.1.0.MTCAP-LORA-1-5.AS923.basic ${D}${LORA_DIR}/global_conf.json.MTCAP_LORA_1_5.AS923 + install -m 755 ${WORKDIR}/global_conf.json.3.1.0.MTCAP-LORA-1-5.AS923-LBT.basic ${D}${LORA_DIR}/global_conf.json.MTCAP_LORA_1_5.AS923-LBT + install -m 755 ${WORKDIR}/global_conf.json.3.1.0.MTCAP-LORA-1-5.KR920-LBT.basic ${D}${LORA_DIR}/global_conf.json.MTCAP_LORA_1_5.KR920-LBT + install -m 755 ${WORKDIR}/global_conf.json.3.1.0.MTCAP-LORA-1-5.IN865.basic ${D}${LORA_DIR}/global_conf.json.MTCAP_LORA_1_5.IN865 } FILES_${PN} += "${LORA_DIR}" -- cgit v1.2.3