From 3dfb9cab9dbaaaa4861bd06f749995f087f5205c Mon Sep 17 00:00:00 2001 From: Michael Vierling Date: Mon, 19 Dec 2022 18:40:50 -0800 Subject: [PATCH 1/2] define custom regions --- .../global_conf.json.sx1250.AS923_1C | 75 +++++++++++ .../global_conf.json.sx1250.AS923_1D | 75 +++++++++++ .../global_conf.json.sx1250.AS923_1E | 75 +++++++++++ .../global_conf.json.sx1250.AS923_1F | 75 +++++++++++ .../global_conf.json.sx1250.AU915_SB1 | 117 +++++++++++++++++ .../global_conf.json.sx1250.EU868_B | 121 ++++++++++++++++++ .../global_conf.json.sx1250.EU868_C | 121 ++++++++++++++++++ .../global_conf.json.sx1250.EU868_D | 121 ++++++++++++++++++ .../global_conf.json.sx1250.EU868_E | 121 ++++++++++++++++++ .../global_conf.json.sx1250.EU868_F | 121 ++++++++++++++++++ 10 files changed, 1022 insertions(+) create mode 100644 packet_forwarder/global_conf.json.sx1250.AS923_1C create mode 100644 packet_forwarder/global_conf.json.sx1250.AS923_1D create mode 100644 packet_forwarder/global_conf.json.sx1250.AS923_1E create mode 100644 packet_forwarder/global_conf.json.sx1250.AS923_1F create mode 100644 packet_forwarder/global_conf.json.sx1250.AU915_SB1 create mode 100644 packet_forwarder/global_conf.json.sx1250.EU868_B create mode 100644 packet_forwarder/global_conf.json.sx1250.EU868_C create mode 100644 packet_forwarder/global_conf.json.sx1250.EU868_D create mode 100644 packet_forwarder/global_conf.json.sx1250.EU868_E create mode 100644 packet_forwarder/global_conf.json.sx1250.EU868_F diff --git a/packet_forwarder/global_conf.json.sx1250.AS923_1C b/packet_forwarder/global_conf.json.sx1250.AS923_1C new file mode 100644 index 00000000..1f84cda3 --- /dev/null +++ b/packet_forwarder/global_conf.json.sx1250.AS923_1C @@ -0,0 +1,75 @@ +{ + "SX130x_conf": { + "spidev_path": "/dev/spidev0.0", + "lorawan_public": true, + "clksrc": 0, + "antenna_gain": 0, + "full_duplex": false, + "precision_timestamp": { + "enable": false, + "max_ts_metrics": 255, + "nb_symbols": 1 + }, + "radio_0": { + "enable": true, + "type": "SX1250", + "freq": 923500000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": true, + "tx_freq_min": 915000000, + "tx_freq_max": 928000000, + "tx_gain_lut":[ + {"rf_power": 12, "pa_gain": 1, "pwr_idx": 4}, + {"rf_power": 13, "pa_gain": 1, "pwr_idx": 5}, + {"rf_power": 14, "pa_gain": 1, "pwr_idx": 6}, + {"rf_power": 15, "pa_gain": 1, "pwr_idx": 7}, + {"rf_power": 16, "pa_gain": 1, "pwr_idx": 8}, + {"rf_power": 17, "pa_gain": 1, "pwr_idx": 9}, + {"rf_power": 18, "pa_gain": 1, "pwr_idx": 10}, + {"rf_power": 19, "pa_gain": 1, "pwr_idx": 11}, + {"rf_power": 20, "pa_gain": 1, "pwr_idx": 12}, + {"rf_power": 21, "pa_gain": 1, "pwr_idx": 13}, + {"rf_power": 22, "pa_gain": 1, "pwr_idx": 14}, + {"rf_power": 23, "pa_gain": 1, "pwr_idx": 15}, + {"rf_power": 24, "pa_gain": 1, "pwr_idx": 16}, + {"rf_power": 25, "pa_gain": 1, "pwr_idx": 17}, + {"rf_power": 26, "pa_gain": 1, "pwr_idx": 19}, + {"rf_power": 27, "pa_gain": 1, "pwr_idx": 20} + ] + }, + "radio_1": { + "enable": true, + "type": "SX1250", + "freq": 924300000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": false + }, + "chan_multiSF_All": {"spreading_factor_enable": [ 5, 6, 7, 8, 9, 10, 11, 12 ]}, + "chan_multiSF_0": {"enable": true, "radio": 0, "if": -300000}, + "chan_multiSF_1": {"enable": true, "radio": 0, "if": -100000}, + "chan_multiSF_2": {"enable": true, "radio": 0, "if": 100000}, + "chan_multiSF_3": {"enable": true, "radio": 0, "if": 300000}, + "chan_multiSF_4": {"enable": true, "radio": 1, "if": -300000}, + "chan_multiSF_5": {"enable": true, "radio": 1, "if": -100000}, + "chan_multiSF_6": {"enable": true, "radio": 1, "if": 100000}, + "chan_multiSF_7": {"enable": true, "radio": 1, "if": 300000}, + "chan_Lora_std": {"enable": true, "radio": 0, "if": 300000, "bandwidth": 500000, "spread_factor": 8, + "implicit_hdr": false, "implicit_payload_length": 17, "implicit_crc_en": false, "implicit_coderate": 1}, + "chan_FSK": {"enable": false, "radio": 1, "if": 300000, "bandwidth": 125000, "datarate": 50000} + }, + "gateway_conf": { + "gps_i2c_path": "/dev/i2c-1", + "gateway_ID": "AA555A0000000000", + "server_address": "localhost", + "serv_port_up": 1680, + "serv_port_down": 1680, + "keepalive_interval": 10, + "stat_interval": 30, + "push_timeout_ms": 100, + "forward_crc_valid": true, + "forward_crc_error": false, + "forward_crc_disabled": false + } +} diff --git a/packet_forwarder/global_conf.json.sx1250.AS923_1D b/packet_forwarder/global_conf.json.sx1250.AS923_1D new file mode 100644 index 00000000..1f84cda3 --- /dev/null +++ b/packet_forwarder/global_conf.json.sx1250.AS923_1D @@ -0,0 +1,75 @@ +{ + "SX130x_conf": { + "spidev_path": "/dev/spidev0.0", + "lorawan_public": true, + "clksrc": 0, + "antenna_gain": 0, + "full_duplex": false, + "precision_timestamp": { + "enable": false, + "max_ts_metrics": 255, + "nb_symbols": 1 + }, + "radio_0": { + "enable": true, + "type": "SX1250", + "freq": 923500000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": true, + "tx_freq_min": 915000000, + "tx_freq_max": 928000000, + "tx_gain_lut":[ + {"rf_power": 12, "pa_gain": 1, "pwr_idx": 4}, + {"rf_power": 13, "pa_gain": 1, "pwr_idx": 5}, + {"rf_power": 14, "pa_gain": 1, "pwr_idx": 6}, + {"rf_power": 15, "pa_gain": 1, "pwr_idx": 7}, + {"rf_power": 16, "pa_gain": 1, "pwr_idx": 8}, + {"rf_power": 17, "pa_gain": 1, "pwr_idx": 9}, + {"rf_power": 18, "pa_gain": 1, "pwr_idx": 10}, + {"rf_power": 19, "pa_gain": 1, "pwr_idx": 11}, + {"rf_power": 20, "pa_gain": 1, "pwr_idx": 12}, + {"rf_power": 21, "pa_gain": 1, "pwr_idx": 13}, + {"rf_power": 22, "pa_gain": 1, "pwr_idx": 14}, + {"rf_power": 23, "pa_gain": 1, "pwr_idx": 15}, + {"rf_power": 24, "pa_gain": 1, "pwr_idx": 16}, + {"rf_power": 25, "pa_gain": 1, "pwr_idx": 17}, + {"rf_power": 26, "pa_gain": 1, "pwr_idx": 19}, + {"rf_power": 27, "pa_gain": 1, "pwr_idx": 20} + ] + }, + "radio_1": { + "enable": true, + "type": "SX1250", + "freq": 924300000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": false + }, + "chan_multiSF_All": {"spreading_factor_enable": [ 5, 6, 7, 8, 9, 10, 11, 12 ]}, + "chan_multiSF_0": {"enable": true, "radio": 0, "if": -300000}, + "chan_multiSF_1": {"enable": true, "radio": 0, "if": -100000}, + "chan_multiSF_2": {"enable": true, "radio": 0, "if": 100000}, + "chan_multiSF_3": {"enable": true, "radio": 0, "if": 300000}, + "chan_multiSF_4": {"enable": true, "radio": 1, "if": -300000}, + "chan_multiSF_5": {"enable": true, "radio": 1, "if": -100000}, + "chan_multiSF_6": {"enable": true, "radio": 1, "if": 100000}, + "chan_multiSF_7": {"enable": true, "radio": 1, "if": 300000}, + "chan_Lora_std": {"enable": true, "radio": 0, "if": 300000, "bandwidth": 500000, "spread_factor": 8, + "implicit_hdr": false, "implicit_payload_length": 17, "implicit_crc_en": false, "implicit_coderate": 1}, + "chan_FSK": {"enable": false, "radio": 1, "if": 300000, "bandwidth": 125000, "datarate": 50000} + }, + "gateway_conf": { + "gps_i2c_path": "/dev/i2c-1", + "gateway_ID": "AA555A0000000000", + "server_address": "localhost", + "serv_port_up": 1680, + "serv_port_down": 1680, + "keepalive_interval": 10, + "stat_interval": 30, + "push_timeout_ms": 100, + "forward_crc_valid": true, + "forward_crc_error": false, + "forward_crc_disabled": false + } +} diff --git a/packet_forwarder/global_conf.json.sx1250.AS923_1E b/packet_forwarder/global_conf.json.sx1250.AS923_1E new file mode 100644 index 00000000..1f84cda3 --- /dev/null +++ b/packet_forwarder/global_conf.json.sx1250.AS923_1E @@ -0,0 +1,75 @@ +{ + "SX130x_conf": { + "spidev_path": "/dev/spidev0.0", + "lorawan_public": true, + "clksrc": 0, + "antenna_gain": 0, + "full_duplex": false, + "precision_timestamp": { + "enable": false, + "max_ts_metrics": 255, + "nb_symbols": 1 + }, + "radio_0": { + "enable": true, + "type": "SX1250", + "freq": 923500000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": true, + "tx_freq_min": 915000000, + "tx_freq_max": 928000000, + "tx_gain_lut":[ + {"rf_power": 12, "pa_gain": 1, "pwr_idx": 4}, + {"rf_power": 13, "pa_gain": 1, "pwr_idx": 5}, + {"rf_power": 14, "pa_gain": 1, "pwr_idx": 6}, + {"rf_power": 15, "pa_gain": 1, "pwr_idx": 7}, + {"rf_power": 16, "pa_gain": 1, "pwr_idx": 8}, + {"rf_power": 17, "pa_gain": 1, "pwr_idx": 9}, + {"rf_power": 18, "pa_gain": 1, "pwr_idx": 10}, + {"rf_power": 19, "pa_gain": 1, "pwr_idx": 11}, + {"rf_power": 20, "pa_gain": 1, "pwr_idx": 12}, + {"rf_power": 21, "pa_gain": 1, "pwr_idx": 13}, + {"rf_power": 22, "pa_gain": 1, "pwr_idx": 14}, + {"rf_power": 23, "pa_gain": 1, "pwr_idx": 15}, + {"rf_power": 24, "pa_gain": 1, "pwr_idx": 16}, + {"rf_power": 25, "pa_gain": 1, "pwr_idx": 17}, + {"rf_power": 26, "pa_gain": 1, "pwr_idx": 19}, + {"rf_power": 27, "pa_gain": 1, "pwr_idx": 20} + ] + }, + "radio_1": { + "enable": true, + "type": "SX1250", + "freq": 924300000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": false + }, + "chan_multiSF_All": {"spreading_factor_enable": [ 5, 6, 7, 8, 9, 10, 11, 12 ]}, + "chan_multiSF_0": {"enable": true, "radio": 0, "if": -300000}, + "chan_multiSF_1": {"enable": true, "radio": 0, "if": -100000}, + "chan_multiSF_2": {"enable": true, "radio": 0, "if": 100000}, + "chan_multiSF_3": {"enable": true, "radio": 0, "if": 300000}, + "chan_multiSF_4": {"enable": true, "radio": 1, "if": -300000}, + "chan_multiSF_5": {"enable": true, "radio": 1, "if": -100000}, + "chan_multiSF_6": {"enable": true, "radio": 1, "if": 100000}, + "chan_multiSF_7": {"enable": true, "radio": 1, "if": 300000}, + "chan_Lora_std": {"enable": true, "radio": 0, "if": 300000, "bandwidth": 500000, "spread_factor": 8, + "implicit_hdr": false, "implicit_payload_length": 17, "implicit_crc_en": false, "implicit_coderate": 1}, + "chan_FSK": {"enable": false, "radio": 1, "if": 300000, "bandwidth": 125000, "datarate": 50000} + }, + "gateway_conf": { + "gps_i2c_path": "/dev/i2c-1", + "gateway_ID": "AA555A0000000000", + "server_address": "localhost", + "serv_port_up": 1680, + "serv_port_down": 1680, + "keepalive_interval": 10, + "stat_interval": 30, + "push_timeout_ms": 100, + "forward_crc_valid": true, + "forward_crc_error": false, + "forward_crc_disabled": false + } +} diff --git a/packet_forwarder/global_conf.json.sx1250.AS923_1F b/packet_forwarder/global_conf.json.sx1250.AS923_1F new file mode 100644 index 00000000..1f84cda3 --- /dev/null +++ b/packet_forwarder/global_conf.json.sx1250.AS923_1F @@ -0,0 +1,75 @@ +{ + "SX130x_conf": { + "spidev_path": "/dev/spidev0.0", + "lorawan_public": true, + "clksrc": 0, + "antenna_gain": 0, + "full_duplex": false, + "precision_timestamp": { + "enable": false, + "max_ts_metrics": 255, + "nb_symbols": 1 + }, + "radio_0": { + "enable": true, + "type": "SX1250", + "freq": 923500000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": true, + "tx_freq_min": 915000000, + "tx_freq_max": 928000000, + "tx_gain_lut":[ + {"rf_power": 12, "pa_gain": 1, "pwr_idx": 4}, + {"rf_power": 13, "pa_gain": 1, "pwr_idx": 5}, + {"rf_power": 14, "pa_gain": 1, "pwr_idx": 6}, + {"rf_power": 15, "pa_gain": 1, "pwr_idx": 7}, + {"rf_power": 16, "pa_gain": 1, "pwr_idx": 8}, + {"rf_power": 17, "pa_gain": 1, "pwr_idx": 9}, + {"rf_power": 18, "pa_gain": 1, "pwr_idx": 10}, + {"rf_power": 19, "pa_gain": 1, "pwr_idx": 11}, + {"rf_power": 20, "pa_gain": 1, "pwr_idx": 12}, + {"rf_power": 21, "pa_gain": 1, "pwr_idx": 13}, + {"rf_power": 22, "pa_gain": 1, "pwr_idx": 14}, + {"rf_power": 23, "pa_gain": 1, "pwr_idx": 15}, + {"rf_power": 24, "pa_gain": 1, "pwr_idx": 16}, + {"rf_power": 25, "pa_gain": 1, "pwr_idx": 17}, + {"rf_power": 26, "pa_gain": 1, "pwr_idx": 19}, + {"rf_power": 27, "pa_gain": 1, "pwr_idx": 20} + ] + }, + "radio_1": { + "enable": true, + "type": "SX1250", + "freq": 924300000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": false + }, + "chan_multiSF_All": {"spreading_factor_enable": [ 5, 6, 7, 8, 9, 10, 11, 12 ]}, + "chan_multiSF_0": {"enable": true, "radio": 0, "if": -300000}, + "chan_multiSF_1": {"enable": true, "radio": 0, "if": -100000}, + "chan_multiSF_2": {"enable": true, "radio": 0, "if": 100000}, + "chan_multiSF_3": {"enable": true, "radio": 0, "if": 300000}, + "chan_multiSF_4": {"enable": true, "radio": 1, "if": -300000}, + "chan_multiSF_5": {"enable": true, "radio": 1, "if": -100000}, + "chan_multiSF_6": {"enable": true, "radio": 1, "if": 100000}, + "chan_multiSF_7": {"enable": true, "radio": 1, "if": 300000}, + "chan_Lora_std": {"enable": true, "radio": 0, "if": 300000, "bandwidth": 500000, "spread_factor": 8, + "implicit_hdr": false, "implicit_payload_length": 17, "implicit_crc_en": false, "implicit_coderate": 1}, + "chan_FSK": {"enable": false, "radio": 1, "if": 300000, "bandwidth": 125000, "datarate": 50000} + }, + "gateway_conf": { + "gps_i2c_path": "/dev/i2c-1", + "gateway_ID": "AA555A0000000000", + "server_address": "localhost", + "serv_port_up": 1680, + "serv_port_down": 1680, + "keepalive_interval": 10, + "stat_interval": 30, + "push_timeout_ms": 100, + "forward_crc_valid": true, + "forward_crc_error": false, + "forward_crc_disabled": false + } +} diff --git a/packet_forwarder/global_conf.json.sx1250.AU915_SB1 b/packet_forwarder/global_conf.json.sx1250.AU915_SB1 new file mode 100644 index 00000000..1e5c2644 --- /dev/null +++ b/packet_forwarder/global_conf.json.sx1250.AU915_SB1 @@ -0,0 +1,117 @@ +{ + "SX130x_conf": { + "spidev_path": "/dev/spidev0.0", + "lorawan_public": true, + "clksrc": 0, + "antenna_gain": 0, + "full_duplex": false, + "precision_timestamp": { + "enable": false, + "max_ts_metrics": 255, + "nb_symbols": 1 + }, + "radio_0": { + "enable": true, + "type": "SX1250", + "freq": 915600000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": true, + "tx_freq_min": 916700000, + "tx_freq_max": 927600000, + "tx_gain_lut":[ + {"rf_power": 12, "pa_gain": 1, "pwr_idx": 4}, + {"rf_power": 13, "pa_gain": 1, "pwr_idx": 5}, + {"rf_power": 14, "pa_gain": 1, "pwr_idx": 6}, + {"rf_power": 15, "pa_gain": 1, "pwr_idx": 7}, + {"rf_power": 16, "pa_gain": 1, "pwr_idx": 8}, + {"rf_power": 17, "pa_gain": 1, "pwr_idx": 9}, + {"rf_power": 18, "pa_gain": 1, "pwr_idx": 10}, + {"rf_power": 19, "pa_gain": 1, "pwr_idx": 11}, + {"rf_power": 20, "pa_gain": 1, "pwr_idx": 12}, + {"rf_power": 21, "pa_gain": 1, "pwr_idx": 13}, + {"rf_power": 22, "pa_gain": 1, "pwr_idx": 14}, + {"rf_power": 23, "pa_gain": 1, "pwr_idx": 15}, + {"rf_power": 24, "pa_gain": 1, "pwr_idx": 16}, + {"rf_power": 25, "pa_gain": 1, "pwr_idx": 17}, + {"rf_power": 26, "pa_gain": 1, "pwr_idx": 19}, + {"rf_power": 27, "pa_gain": 1, "pwr_idx": 20} + ] + }, + "radio_1": { + "enable": true, + "type": "SX1250", + "freq": 916300000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": false + }, + "chan_multiSF_0": { + "enable": true, + "radio": 0, + "if": -400000 + }, + "chan_multiSF_1": { + "enable": true, + "radio": 0, + "if": -200000 + }, + "chan_multiSF_2": { + "enable": true, + "radio": 0, + "if": 0 + }, + "chan_multiSF_3": { + "enable": true, + "radio": 0, + "if": 200000 + }, + "chan_multiSF_4": { + "enable": true, + "radio": 1, + "if": -300000 + }, + "chan_multiSF_5": { + "enable": true, + "radio": 1, + "if": -100000 + }, + "chan_multiSF_6": { + "enable": true, + "radio": 1, + "if": 100000 + }, + "chan_multiSF_7": { + "enable": true, + "radio": 1, + "if": 300000 + }, + "chan_Lora_std": { + "enable": true, + "radio": 0, + "if": 300000, + "bandwidth": 500000, + "spread_factor": 8 + }, + "chan_FSK": { + "enable": false, + "radio": 0, + "if": 300000, + "bandwidth": 250000, + "datarate": 100000 + } + }, + "gateway_conf": { + "gps_i2c_path": "/dev/i2c-1", + "gateway_ID": "AA555A0000000000", + "server_address": "localhost", + "serv_port_up": 1680, + "serv_port_down": 1680, + "keepalive_interval": 10, + "stat_interval": 30, + "push_timeout_ms": 100, + "forward_crc_valid": true, + "forward_crc_error": false, + "forward_crc_disabled": false + } +} diff --git a/packet_forwarder/global_conf.json.sx1250.EU868_B b/packet_forwarder/global_conf.json.sx1250.EU868_B new file mode 100644 index 00000000..5949d401 --- /dev/null +++ b/packet_forwarder/global_conf.json.sx1250.EU868_B @@ -0,0 +1,121 @@ +{ + "SX130x_conf": { + "spidev_path": "/dev/spidev0.0", + "lorawan_public": true, + "clksrc": 0, + "antenna_gain": 0, /* antenna gain, in dBi */ + "full_duplex": false, + "precision_timestamp": { + "enable": false, + "max_ts_metrics": 255, + "nb_symbols": 1 + }, + "radio_0": { + "enable": true, + "type": "SX1250", + "freq": 867500000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": true, + "tx_freq_min": 863000000, + "tx_freq_max": 870000000, + "tx_gain_lut":[ + {"rf_power": 12, "pa_gain": 1, "pwr_idx": 4}, + {"rf_power": 13, "pa_gain": 1, "pwr_idx": 5}, + {"rf_power": 14, "pa_gain": 1, "pwr_idx": 6}, + {"rf_power": 15, "pa_gain": 1, "pwr_idx": 7}, + {"rf_power": 16, "pa_gain": 1, "pwr_idx": 8}, + {"rf_power": 17, "pa_gain": 1, "pwr_idx": 9}, + {"rf_power": 18, "pa_gain": 1, "pwr_idx": 10}, + {"rf_power": 19, "pa_gain": 1, "pwr_idx": 11}, + {"rf_power": 20, "pa_gain": 1, "pwr_idx": 12}, + {"rf_power": 21, "pa_gain": 1, "pwr_idx": 13}, + {"rf_power": 22, "pa_gain": 1, "pwr_idx": 14}, + {"rf_power": 23, "pa_gain": 1, "pwr_idx": 15}, + {"rf_power": 24, "pa_gain": 1, "pwr_idx": 16}, + {"rf_power": 25, "pa_gain": 1, "pwr_idx": 17}, + {"rf_power": 26, "pa_gain": 1, "pwr_idx": 19}, + {"rf_power": 27, "pa_gain": 1, "pwr_idx": 20} + ] + }, + "radio_1": { + "enable": true, + "type": "SX1250", + "freq": 868500000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 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": { + /* disabled */ + "enable": false, + "radio": 0, + "if": 300000, + "bandwidth": 250000, + "datarate": 100000 + } + }, + "gateway_conf": { + "gps_i2c_path": "/dev/i2c-1", + "gateway_ID": "AA555A0000000000", + /* change with default server address/ports */ + "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 + } +} diff --git a/packet_forwarder/global_conf.json.sx1250.EU868_C b/packet_forwarder/global_conf.json.sx1250.EU868_C new file mode 100644 index 00000000..5949d401 --- /dev/null +++ b/packet_forwarder/global_conf.json.sx1250.EU868_C @@ -0,0 +1,121 @@ +{ + "SX130x_conf": { + "spidev_path": "/dev/spidev0.0", + "lorawan_public": true, + "clksrc": 0, + "antenna_gain": 0, /* antenna gain, in dBi */ + "full_duplex": false, + "precision_timestamp": { + "enable": false, + "max_ts_metrics": 255, + "nb_symbols": 1 + }, + "radio_0": { + "enable": true, + "type": "SX1250", + "freq": 867500000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": true, + "tx_freq_min": 863000000, + "tx_freq_max": 870000000, + "tx_gain_lut":[ + {"rf_power": 12, "pa_gain": 1, "pwr_idx": 4}, + {"rf_power": 13, "pa_gain": 1, "pwr_idx": 5}, + {"rf_power": 14, "pa_gain": 1, "pwr_idx": 6}, + {"rf_power": 15, "pa_gain": 1, "pwr_idx": 7}, + {"rf_power": 16, "pa_gain": 1, "pwr_idx": 8}, + {"rf_power": 17, "pa_gain": 1, "pwr_idx": 9}, + {"rf_power": 18, "pa_gain": 1, "pwr_idx": 10}, + {"rf_power": 19, "pa_gain": 1, "pwr_idx": 11}, + {"rf_power": 20, "pa_gain": 1, "pwr_idx": 12}, + {"rf_power": 21, "pa_gain": 1, "pwr_idx": 13}, + {"rf_power": 22, "pa_gain": 1, "pwr_idx": 14}, + {"rf_power": 23, "pa_gain": 1, "pwr_idx": 15}, + {"rf_power": 24, "pa_gain": 1, "pwr_idx": 16}, + {"rf_power": 25, "pa_gain": 1, "pwr_idx": 17}, + {"rf_power": 26, "pa_gain": 1, "pwr_idx": 19}, + {"rf_power": 27, "pa_gain": 1, "pwr_idx": 20} + ] + }, + "radio_1": { + "enable": true, + "type": "SX1250", + "freq": 868500000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 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": { + /* disabled */ + "enable": false, + "radio": 0, + "if": 300000, + "bandwidth": 250000, + "datarate": 100000 + } + }, + "gateway_conf": { + "gps_i2c_path": "/dev/i2c-1", + "gateway_ID": "AA555A0000000000", + /* change with default server address/ports */ + "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 + } +} diff --git a/packet_forwarder/global_conf.json.sx1250.EU868_D b/packet_forwarder/global_conf.json.sx1250.EU868_D new file mode 100644 index 00000000..5949d401 --- /dev/null +++ b/packet_forwarder/global_conf.json.sx1250.EU868_D @@ -0,0 +1,121 @@ +{ + "SX130x_conf": { + "spidev_path": "/dev/spidev0.0", + "lorawan_public": true, + "clksrc": 0, + "antenna_gain": 0, /* antenna gain, in dBi */ + "full_duplex": false, + "precision_timestamp": { + "enable": false, + "max_ts_metrics": 255, + "nb_symbols": 1 + }, + "radio_0": { + "enable": true, + "type": "SX1250", + "freq": 867500000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": true, + "tx_freq_min": 863000000, + "tx_freq_max": 870000000, + "tx_gain_lut":[ + {"rf_power": 12, "pa_gain": 1, "pwr_idx": 4}, + {"rf_power": 13, "pa_gain": 1, "pwr_idx": 5}, + {"rf_power": 14, "pa_gain": 1, "pwr_idx": 6}, + {"rf_power": 15, "pa_gain": 1, "pwr_idx": 7}, + {"rf_power": 16, "pa_gain": 1, "pwr_idx": 8}, + {"rf_power": 17, "pa_gain": 1, "pwr_idx": 9}, + {"rf_power": 18, "pa_gain": 1, "pwr_idx": 10}, + {"rf_power": 19, "pa_gain": 1, "pwr_idx": 11}, + {"rf_power": 20, "pa_gain": 1, "pwr_idx": 12}, + {"rf_power": 21, "pa_gain": 1, "pwr_idx": 13}, + {"rf_power": 22, "pa_gain": 1, "pwr_idx": 14}, + {"rf_power": 23, "pa_gain": 1, "pwr_idx": 15}, + {"rf_power": 24, "pa_gain": 1, "pwr_idx": 16}, + {"rf_power": 25, "pa_gain": 1, "pwr_idx": 17}, + {"rf_power": 26, "pa_gain": 1, "pwr_idx": 19}, + {"rf_power": 27, "pa_gain": 1, "pwr_idx": 20} + ] + }, + "radio_1": { + "enable": true, + "type": "SX1250", + "freq": 868500000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 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": { + /* disabled */ + "enable": false, + "radio": 0, + "if": 300000, + "bandwidth": 250000, + "datarate": 100000 + } + }, + "gateway_conf": { + "gps_i2c_path": "/dev/i2c-1", + "gateway_ID": "AA555A0000000000", + /* change with default server address/ports */ + "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 + } +} diff --git a/packet_forwarder/global_conf.json.sx1250.EU868_E b/packet_forwarder/global_conf.json.sx1250.EU868_E new file mode 100644 index 00000000..5949d401 --- /dev/null +++ b/packet_forwarder/global_conf.json.sx1250.EU868_E @@ -0,0 +1,121 @@ +{ + "SX130x_conf": { + "spidev_path": "/dev/spidev0.0", + "lorawan_public": true, + "clksrc": 0, + "antenna_gain": 0, /* antenna gain, in dBi */ + "full_duplex": false, + "precision_timestamp": { + "enable": false, + "max_ts_metrics": 255, + "nb_symbols": 1 + }, + "radio_0": { + "enable": true, + "type": "SX1250", + "freq": 867500000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": true, + "tx_freq_min": 863000000, + "tx_freq_max": 870000000, + "tx_gain_lut":[ + {"rf_power": 12, "pa_gain": 1, "pwr_idx": 4}, + {"rf_power": 13, "pa_gain": 1, "pwr_idx": 5}, + {"rf_power": 14, "pa_gain": 1, "pwr_idx": 6}, + {"rf_power": 15, "pa_gain": 1, "pwr_idx": 7}, + {"rf_power": 16, "pa_gain": 1, "pwr_idx": 8}, + {"rf_power": 17, "pa_gain": 1, "pwr_idx": 9}, + {"rf_power": 18, "pa_gain": 1, "pwr_idx": 10}, + {"rf_power": 19, "pa_gain": 1, "pwr_idx": 11}, + {"rf_power": 20, "pa_gain": 1, "pwr_idx": 12}, + {"rf_power": 21, "pa_gain": 1, "pwr_idx": 13}, + {"rf_power": 22, "pa_gain": 1, "pwr_idx": 14}, + {"rf_power": 23, "pa_gain": 1, "pwr_idx": 15}, + {"rf_power": 24, "pa_gain": 1, "pwr_idx": 16}, + {"rf_power": 25, "pa_gain": 1, "pwr_idx": 17}, + {"rf_power": 26, "pa_gain": 1, "pwr_idx": 19}, + {"rf_power": 27, "pa_gain": 1, "pwr_idx": 20} + ] + }, + "radio_1": { + "enable": true, + "type": "SX1250", + "freq": 868500000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 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": { + /* disabled */ + "enable": false, + "radio": 0, + "if": 300000, + "bandwidth": 250000, + "datarate": 100000 + } + }, + "gateway_conf": { + "gps_i2c_path": "/dev/i2c-1", + "gateway_ID": "AA555A0000000000", + /* change with default server address/ports */ + "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 + } +} diff --git a/packet_forwarder/global_conf.json.sx1250.EU868_F b/packet_forwarder/global_conf.json.sx1250.EU868_F new file mode 100644 index 00000000..5949d401 --- /dev/null +++ b/packet_forwarder/global_conf.json.sx1250.EU868_F @@ -0,0 +1,121 @@ +{ + "SX130x_conf": { + "spidev_path": "/dev/spidev0.0", + "lorawan_public": true, + "clksrc": 0, + "antenna_gain": 0, /* antenna gain, in dBi */ + "full_duplex": false, + "precision_timestamp": { + "enable": false, + "max_ts_metrics": 255, + "nb_symbols": 1 + }, + "radio_0": { + "enable": true, + "type": "SX1250", + "freq": 867500000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, + "tx_enable": true, + "tx_freq_min": 863000000, + "tx_freq_max": 870000000, + "tx_gain_lut":[ + {"rf_power": 12, "pa_gain": 1, "pwr_idx": 4}, + {"rf_power": 13, "pa_gain": 1, "pwr_idx": 5}, + {"rf_power": 14, "pa_gain": 1, "pwr_idx": 6}, + {"rf_power": 15, "pa_gain": 1, "pwr_idx": 7}, + {"rf_power": 16, "pa_gain": 1, "pwr_idx": 8}, + {"rf_power": 17, "pa_gain": 1, "pwr_idx": 9}, + {"rf_power": 18, "pa_gain": 1, "pwr_idx": 10}, + {"rf_power": 19, "pa_gain": 1, "pwr_idx": 11}, + {"rf_power": 20, "pa_gain": 1, "pwr_idx": 12}, + {"rf_power": 21, "pa_gain": 1, "pwr_idx": 13}, + {"rf_power": 22, "pa_gain": 1, "pwr_idx": 14}, + {"rf_power": 23, "pa_gain": 1, "pwr_idx": 15}, + {"rf_power": 24, "pa_gain": 1, "pwr_idx": 16}, + {"rf_power": 25, "pa_gain": 1, "pwr_idx": 17}, + {"rf_power": 26, "pa_gain": 1, "pwr_idx": 19}, + {"rf_power": 27, "pa_gain": 1, "pwr_idx": 20} + ] + }, + "radio_1": { + "enable": true, + "type": "SX1250", + "freq": 868500000, + "rssi_offset": -215.4, + "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 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": { + /* disabled */ + "enable": false, + "radio": 0, + "if": 300000, + "bandwidth": 250000, + "datarate": 100000 + } + }, + "gateway_conf": { + "gps_i2c_path": "/dev/i2c-1", + "gateway_ID": "AA555A0000000000", + /* change with default server address/ports */ + "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 + } +} From 05acaac838de2e30f606942f845e7f9d0685cb02 Mon Sep 17 00:00:00 2001 From: Michael Vierling Date: Thu, 29 Dec 2022 13:15:24 -0800 Subject: [PATCH 2/2] decrease min --- packet_forwarder/global_conf.json.sx1250.AU915_SB1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packet_forwarder/global_conf.json.sx1250.AU915_SB1 b/packet_forwarder/global_conf.json.sx1250.AU915_SB1 index 1e5c2644..dcc58bb8 100644 --- a/packet_forwarder/global_conf.json.sx1250.AU915_SB1 +++ b/packet_forwarder/global_conf.json.sx1250.AU915_SB1 @@ -17,7 +17,7 @@ "rssi_offset": -215.4, "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0}, "tx_enable": true, - "tx_freq_min": 916700000, + "tx_freq_min": 915000000, "tx_freq_max": 927600000, "tx_gain_lut":[ {"rf_power": 12, "pa_gain": 1, "pwr_idx": 4},