From d33320fda51c21fb3eedf066b27fa9288bce5405 Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 13 Apr 2018 16:10:31 -0500 Subject: Display APN for Verizon --- recipes-core/multitech/config/ppp/peers/lvw2_chat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-core/multitech/config/ppp/peers/lvw2_chat b/recipes-core/multitech/config/ppp/peers/lvw2_chat index 5be458e..c7aede7 100644 --- a/recipes-core/multitech/config/ppp/peers/lvw2_chat +++ b/recipes-core/multitech/config/ppp/peers/lvw2_chat @@ -15,6 +15,10 @@ OK 'AT+CSQ' # It must be loaded dynamically # from the network. # ---------------------------------- +# Log APN (current context) for +# diagnostic purposes +#----------------------------------- +OK 'AT+CGDCONT?' SAY "Dialing...\n" OK 'ATD*99***3#' SAY "Waiting for CONNECT...\n" -- cgit v1.2.3 From 7ad9547bf88c5c74ae25ae998e54ee14c7e61894 Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 13 Apr 2018 16:13:40 -0500 Subject: Bump the revision for Verizon chat comment. --- recipes-core/multitech/config_1.0.bb | 40 ------------------------------------ recipes-core/multitech/config_2.1.bb | 2 +- 2 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 recipes-core/multitech/config_1.0.bb diff --git a/recipes-core/multitech/config_1.0.bb b/recipes-core/multitech/config_1.0.bb deleted file mode 100644 index cf86b4b..0000000 --- a/recipes-core/multitech/config_1.0.bb +++ /dev/null @@ -1,40 +0,0 @@ -DESCRIPTION = "Provides default system config files and /var/config fs" -SECTION = "base" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" -PR = "r6" - -inherit update-rc.d - -INITSCRIPT_NAME = "config" -INITSCRIPT_PARAMS = "start 31 S ." - -SRC_URI = "\ - file://network \ - file://ppp \ - file://config.init \ -" - -CONFIGFILES = "network ppp" - -fakeroot do_install () { - cd ${WORKDIR} - - # default config files - rm -f defaults.tar.gz - chown root:root -R ${CONFIGFILES} - tar czf defaults.tar.gz ${CONFIGFILES} - install -d ${D}${sysconfdir} - install -m 0644 ${WORKDIR}/defaults.tar.gz ${D}${sysconfdir}/defaults.tar.gz - - # save root password for resetting to defaults - echo -n '${MTADM_PASSWORD_HASH}' > ${D}${sysconfdir}/default_pass - chmod 400 ${D}${sysconfdir}/default_pass - - # init script - install -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/config.init ${D}${sysconfdir}/init.d/config -} - -FILES_${PN} = "${sysconfdir}/defaults.tar.gz ${sysconfdir}/default_pass" -FILES_${PN} += "${sysconfdir}/init.d/config" diff --git a/recipes-core/multitech/config_2.1.bb b/recipes-core/multitech/config_2.1.bb index c49f06a..a7dbed7 100644 --- a/recipes-core/multitech/config_2.1.bb +++ b/recipes-core/multitech/config_2.1.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Provides default system config files and /var/config fs" SECTION = "base" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" -PR = "r1" +PR = "r2" inherit update-rc.d -- cgit v1.2.3 From ffb634468336b1d35bf72b740416743481a3193f Mon Sep 17 00:00:00 2001 From: John Klug Date: Mon, 16 Apr 2018 11:07:07 -0500 Subject: Add query for APN to Verizon chat script --- recipes-core/multitech/config/ppp/peers/lna3_chat_vz | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-core/multitech/config/ppp/peers/lna3_chat_vz b/recipes-core/multitech/config/ppp/peers/lna3_chat_vz index 58a5b30..1d2178d 100644 --- a/recipes-core/multitech/config/ppp/peers/lna3_chat_vz +++ b/recipes-core/multitech/config/ppp/peers/lna3_chat_vz @@ -32,6 +32,10 @@ OK 'AT+CSQ' # And to switch to AT&T (non-Verizon): # mlinux-switch-cell-fw 0 # ----------------------------------------- +# Log APN (current context) for +# diagnostic purposes +#----------------------------------- +OK 'AT+CGDCONT?' SAY "Dialing...\n" OK 'ATD*99***3#' SAY "Waiting for CONNECT...\n" -- cgit v1.2.3 From 5dc0d8ffad8679293b059d219e49299fcc43cfc1 Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 19 Apr 2018 09:46:48 -0500 Subject: New mts-io driver, get-eeprom-device-config skips radio if not present. --- conf/distro/mlinux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/mlinux.conf b/conf/distro/mlinux.conf index cc180f2..b9e8312 100644 --- a/conf/distro/mlinux.conf +++ b/conf/distro/mlinux.conf @@ -1,7 +1,7 @@ DISTRO = "mlinux" DISTRO_NAME = "mLinux" DISTRO_BASE_VERSION = "4.0" -DISTRO_VERSION = "${DISTRO_BASE_VERSION}.0dev14" +DISTRO_VERSION = "${DISTRO_BASE_VERSION}.0dev15" DISTRO_CODENAME = "" SDK_VENDOR = "-mlinux" SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" -- cgit v1.2.3 From a1e89171c91479369af13134828c2fb4a4fd824f Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Thu, 19 Apr 2018 14:56:37 -0500 Subject: Added Lora 2.1 Packet forwarder support --- .../lora/lora-gateway-geolocation/config.json | 64 ++++++ .../lora/lora-gateway-geolocation/config_64ch.json | 153 +++++++++++++ .../lora/lora-gateway-geolocation_5.1.0.bb | 51 +++++ ...A_2_1_loc_dual_antenna_8ch_full_diversity_EU868 | 152 +++++++++++++ ...A_2_1_loc_dual_antenna_8ch_full_diversity_JP920 | 151 +++++++++++++ ..._1_loc_dual_antenna_8ch_partial_diversity_EU868 | 152 +++++++++++++ ...son.MTAC_LORA_2_1_loc_single_antenna_16ch_EU868 | 125 +++++++++++ ...son.MTAC_LORA_2_1_loc_single_antenna_16ch_US915 | 111 ++++++++++ ...son.MTAC_LORA_2_1_loc_single_antenna_64ch_US915 | 211 ++++++++++++++++++ ...A_2_1_loc_single_antenna_full_duplex_64ch_US915 | 216 +++++++++++++++++++ ..._test_dual_antenna_56ch_partial_diversity_EU868 | 237 +++++++++++++++++++++ ...AC_LORA_2_1_test_single_antenna_16ch_16x1_EU868 | 121 +++++++++++ ...AC_LORA_2_1_test_single_antenna_64ch_64x1_EU868 | 210 ++++++++++++++++++ ...TAC_LORA_2_1_test_single_antenna_64ch_8x8_EU868 | 210 ++++++++++++++++++ .../lora-packet-forwarder-geolocation_5.1.0.bb | 56 +++++ .../lora-packet-forwarder.init | 123 +++++++---- .../mtcdt-2.1/lora-packet-forwarder.default | 2 + recipes-core/images/mlinux-factory-image.bb | 2 +- 18 files changed, 2300 insertions(+), 47 deletions(-) create mode 100644 recipes-connectivity/lora/lora-gateway-geolocation/config.json create mode 100644 recipes-connectivity/lora/lora-gateway-geolocation/config_64ch.json create mode 100644 recipes-connectivity/lora/lora-gateway-geolocation_5.1.0.bb create mode 100644 recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_full_diversity_EU868 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_full_diversity_JP920 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_partial_diversity_EU868 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_single_antenna_16ch_EU868 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_single_antenna_16ch_US915 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_single_antenna_64ch_US915 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_single_antenna_full_duplex_64ch_US915 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_test_dual_antenna_56ch_partial_diversity_EU868 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_test_single_antenna_16ch_16x1_EU868 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_test_single_antenna_64ch_64x1_EU868 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_test_single_antenna_64ch_8x8_EU868 create mode 100644 recipes-connectivity/lora/lora-packet-forwarder-geolocation_5.1.0.bb create mode 100644 recipes-connectivity/lora/lora-packet-forwarder/mtcdt-2.1/lora-packet-forwarder.default diff --git a/recipes-connectivity/lora/lora-gateway-geolocation/config.json b/recipes-connectivity/lora/lora-gateway-geolocation/config.json new file mode 100644 index 0000000..0413918 --- /dev/null +++ b/recipes-connectivity/lora/lora-gateway-geolocation/config.json @@ -0,0 +1,64 @@ +{ + "SX1301_array_conf":[ + { + "board_type": "MASTER", + "board_rx_freq": 866500000, /* ad9361 RX center frequency in Hz */ + "board_rx_bw": 7000000, /* ad9361 RX bandwidth in Hz */ + 'full_duplex": false, + "rf_chain_conf":[ + { + "rx_enable": true, + "tx_enable": false, + "rssi_offset": -202.5, + "rssi_offset_coeff_a": 20, + "rssi_offset_coeff_b": 2925 + },{ + "rx_enable": true, + "tx_enable": false, + "rssi_offset": -202.5, + "rssi_offset_coeff_a": 20, + "rssi_offset_coeff_b": 2925 + }], + "SX1301_conf":[ + { + "chip_enable": true, + "chip_center_freq": 868000000, + "chip_rf_chain": 0, + "chan_multiSF_0": { "chan_rx_freq": 867100000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 867300000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 867500000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 868100000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 868300000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 868500000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 868300000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 868800000, "bandwidth": 125000, "bit_rate": 50000 } + },{ + "chip_enable": true, + "chip_center_freq": 868000000, + "chip_rf_chain": 1, + "chan_multiSF_0": { "chan_rx_freq": 867100000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 867300000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 867500000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 868100000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 868300000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 868500000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 868300000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 868800000, "bandwidth": 125000, "bit_rate": 50000 } + }], + "FSK_sync": "C194C1", + "loramac_public": true, + "dsp_stat_interval": 10, + "nb_dsp": 1, + "aes_key": "ABCDEF0123456789ABCDEF0123456789", + "calibration_temperature_celsius_room": 22, + "calibration_temperature_code_ad9361": 77 + }], + "gateway_conf": { + "gateway_ID": "00AEAEFFFE000000", + "log_rotate_period": 600 + } +} diff --git a/recipes-connectivity/lora/lora-gateway-geolocation/config_64ch.json b/recipes-connectivity/lora/lora-gateway-geolocation/config_64ch.json new file mode 100644 index 0000000..570b62f --- /dev/null +++ b/recipes-connectivity/lora/lora-gateway-geolocation/config_64ch.json @@ -0,0 +1,153 @@ +{ + "SX1301_array_conf":[ + { + "board_type": "MASTER", + "board_rx_freq": 866500000, /* radio RX central frequency in Hz */ + "board_rx_bw": 7000000, /* radio RX bandwidth in Hz */ + "full_duplex": false, /* radio mode */ + "rf_chain_conf":[ + { + "rx_enable": true, + "tx_enable": false, + "rssi_offset": -202.5, + "rssi_offset_coeff_a": 20, + "rssi_offset_coeff_b": 2925 + }], + "SX1301_conf":[ + { + "chip_enable": true, + "chip_center_freq": 868000000, + "chip_rf_chain": 0, + "chan_multiSF_0": { "chan_rx_freq": 867100000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 867300000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 867500000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 868100000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 868300000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 868500000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 868300000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 868800000, "bandwidth": 125000, "bit_rate": 50000 } + },{ + "chip_enable": true, + "chip_center_freq": 868000000, + "chip_rf_chain": 0, + "chan_multiSF_0": { "chan_rx_freq": 867100000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 867300000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 867500000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 868100000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 868300000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 868500000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 868300000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 868800000, "bandwidth": 125000, "bit_rate": 50000 } + }], + "FSK_sync": "C194C1", + "loramac_public": true, + "nb_dsp": 1, + "dsp_stat_interval": 10, + "aes_key": "ABCDEF0123456789ABCDEF0123456789", + "calibration_temperature_celsius_room": 22, + "calibration_temperature_code_ad9361": 77 + }, + { + "board_type": "SLAVE", + "board_rx_freq": 866500000, /* radio RX central frequency in Hz */ + "board_rx_bw": 7000000, /* radio RX bandwidth in Hz */ + "SX1301_conf":[ + { + "chip_enable": true, + "chip_center_freq": 868000000, + "chip_rf_chain": 0, + "chan_multiSF_0": { "chan_rx_freq": 867100000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 867300000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 867500000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 868100000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 868300000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 868500000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 868300000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 868800000, "bandwidth": 125000, "bit_rate": 50000 } + },{ + "chip_enable": true, + "chip_center_freq": 868000000, + "chip_rf_chain": 0, + "chan_multiSF_0": { "chan_rx_freq": 867100000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 867300000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 867500000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 868100000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 868300000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 868500000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 868300000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 868800000, "bandwidth": 125000, "bit_rate": 50000 } + },{ + "chip_enable": true, + "chip_center_freq": 868000000, + "chip_rf_chain": 0, + "chan_multiSF_0": { "chan_rx_freq": 867100000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 867300000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 867500000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 868100000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 868300000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 868500000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 868300000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 868800000, "bandwidth": 125000, "bit_rate": 50000 } + },{ + "chip_enable": true, + "chip_center_freq": 868000000, + "chip_rf_chain": 0, + "chan_multiSF_0": { "chan_rx_freq": 867100000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 867300000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 867500000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 868100000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 868300000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 868500000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 868300000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 868800000, "bandwidth": 125000, "bit_rate": 50000 } + },{ + "chip_enable": true, + "chip_center_freq": 868000000, + "chip_rf_chain": 0, + "chan_multiSF_0": { "chan_rx_freq": 867100000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 867300000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 867500000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 868100000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 868300000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 868500000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 868300000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 868800000, "bandwidth": 125000, "bit_rate": 50000 } + },{ + "chip_enable": true, + "chip_center_freq": 868000000, + "chip_rf_chain": 0, + "chan_multiSF_0": { "chan_rx_freq": 867100000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 867300000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 867500000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 868100000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 868300000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 868500000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 868300000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 868800000, "bandwidth": 125000, "bit_rate": 50000 } + }], + "FSK_sync": "C194C1", + "loramac_public": true, + "nb_dsp": 3, + "dsp_stat_interval": 10 + }], + "gateway_conf": { + "gateway_ID": "00AEAEFFFE000000", + "log_rotate_period": 600 + } +} diff --git a/recipes-connectivity/lora/lora-gateway-geolocation_5.1.0.bb b/recipes-connectivity/lora/lora-gateway-geolocation_5.1.0.bb new file mode 100644 index 0000000..28b8b56 --- /dev/null +++ b/recipes-connectivity/lora/lora-gateway-geolocation_5.1.0.bb @@ -0,0 +1,51 @@ +DESCRIPTION = "LoRa Gateway Geolocation library" +PRIORITY = "optional" +SECTION = "console/utils" +# Semtech license is a modified BSD-style license +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://mlinux4/LICENSE.TXT;md5=86776875df1423114abfcec938f3e565" +DEPENDS = "" +PR = "r2" +SRCREV = "v${PV}" + +SRC_URI = "http://multitech.net/downloads/lora-packet-forwarder-geolocation_arm926ejste_${PV}.tar.gz \ + file://config.json \ + file://config_64ch.json \ + " + +SRC_URI[md5sum] = "6d347a6fc73827ca44d9d5a33c6e4c0d" +SRC_URI[sha256sum] = "88bf470b142bfb7ac3a23a22690908b0a4757dd4587f5007aa292470999e3e6f" + +S = "${WORKDIR}" + +CFLAGS += "-Iinc -I." + +do_compile() { +} + +do_install() { + install -d ${D}${includedir}/lora + install -d ${D}${libdir}/lora + install -m 0644 mlinux4/libsx1301ar/* ${D}${includedir}/lora + + install -d ${D}/sbin + install -m 0755 mlinux4/gateway-utils-geo/fpga_flash_loader ${D}/sbin/sem-fpga-loader + + install -d ${D}/opt/lora/ + install -d ${D}/opt/lora/gateway-utils-geo + install -m 0755 mlinux4/gateway-utils-geo/* ${D}/opt/lora/gateway-utils-geo/ + install -m 0755 ${WORKDIR}/config.json ${D}/opt/lora/gateway-utils-geo/ + install -m 0755 ${WORKDIR}/config_64ch.json ${D}/opt/lora/gateway-utils-geo/ +} + +PACKAGES += "${PN}-utils ${PN}-utils-dbg" + +FILES_${PN} = "${libdir}/lora/lora-gw-geolocation-readme.md ${includedir}/lora /usr/lib/" +FILES_${PN}-utils = "/opt/lora/gateway-utils-geo/* /sbin/sem-fpga-loader" +FILES_${PN}-utils-dbg = "/opt/lora/gateway-utils-geo/.debug " +FILES_${PN}-staticdev = "${libdir}/lora/libsx1301ar.a" + +# disable this on purpose for dev purposes +do_rm_work() { + echo "skipping" +} diff --git a/recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_full_diversity_EU868 b/recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_full_diversity_EU868 new file mode 100644 index 0000000..b04addc --- /dev/null +++ b/recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_full_diversity_EU868 @@ -0,0 +1,152 @@ +{ + "SX1301_array_conf":[ + { + "board_type": "MASTER", + "board_rx_freq": 866500000, /* radio RX central frequency in Hz */ + "board_rx_bw": 7000000, /* radio RX bandwidth in Hz */ + "full_duplex": false, /* radio mode */ + "rf_chain_conf":[ + { + /* RX */ + "rx_enable": true, + "rssi_offset": -202.5, + "rssi_offset_coeff_a": 20, + "rssi_offset_coeff_b": 2925, + /* TX */ + "tx_enable": true, + "tx_freq_min": 863000000, + "tx_freq_max": 870000000, + "tx_lut":[ + { "rf_power": 2, "fpga_dig_gain": 4, "ad9361_atten": 125, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 5, "fpga_dig_gain": 4, "ad9361_atten": 112, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 7, "fpga_dig_gain": 4, "ad9361_atten": 105, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 9, "fpga_dig_gain": 4, "ad9361_atten": 98, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -18, "ad9361_tcomp_coeff_b": 573 }, + { "rf_power": 11, "fpga_dig_gain": 4, "ad9361_atten": 90, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -17, "ad9361_tcomp_coeff_b": 477 }, + { "rf_power": 12, "fpga_dig_gain": 4, "ad9361_atten": 86, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 264 }, + { "rf_power": 13, "fpga_dig_gain": 4, "ad9361_atten": 83, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 179 }, + { "rf_power": 14, "fpga_dig_gain": 4, "ad9361_atten": 77, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -15, "ad9361_tcomp_coeff_b": 0 }, + { "rf_power": 16, "fpga_dig_gain": 4, "ad9361_atten": 68, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -14, "ad9361_tcomp_coeff_b": -141 }, + { "rf_power": 18, "fpga_dig_gain": 4, "ad9361_atten": 59, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -550 }, + { "rf_power": 20, "fpga_dig_gain": 4, "ad9361_atten": 51, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -718 }, + { "rf_power": 22, "fpga_dig_gain": 4, "ad9361_atten": 44, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1195 }, + { "rf_power": 24, "fpga_dig_gain": 4, "ad9361_atten": 34, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1268 }, + { "rf_power": 25, "fpga_dig_gain": 4, "ad9361_atten": 30, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1662 }, + { "rf_power": 26, "fpga_dig_gain": 4, "ad9361_atten": 24, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1865 }, + { "rf_power": 27, "fpga_dig_gain": 4, "ad9361_atten": 20, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -7, "ad9361_tcomp_coeff_b": -2102 }] + },{ + /* RX */ + "rx_enable": true, + "rssi_offset": -202.5, + "rssi_offset_coeff_a": 20, + "rssi_offset_coeff_b": 2925, + /* TX */ + "tx_enable": true, + "tx_freq_min": 863000000, + "tx_freq_max": 870000000, + "tx_lut":[ + { "rf_power": 2, "fpga_dig_gain": 4, "ad9361_atten": 125, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 5, "fpga_dig_gain": 4, "ad9361_atten": 112, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 7, "fpga_dig_gain": 4, "ad9361_atten": 105, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 9, "fpga_dig_gain": 4, "ad9361_atten": 98, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -18, "ad9361_tcomp_coeff_b": 573 }, + { "rf_power": 11, "fpga_dig_gain": 4, "ad9361_atten": 90, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -17, "ad9361_tcomp_coeff_b": 477 }, + { "rf_power": 12, "fpga_dig_gain": 4, "ad9361_atten": 86, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 264 }, + { "rf_power": 13, "fpga_dig_gain": 4, "ad9361_atten": 83, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 179 }, + { "rf_power": 14, "fpga_dig_gain": 4, "ad9361_atten": 77, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -15, "ad9361_tcomp_coeff_b": 0 }, + { "rf_power": 16, "fpga_dig_gain": 4, "ad9361_atten": 68, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -14, "ad9361_tcomp_coeff_b": -141 }, + { "rf_power": 18, "fpga_dig_gain": 4, "ad9361_atten": 59, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -550 }, + { "rf_power": 20, "fpga_dig_gain": 4, "ad9361_atten": 51, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -718 }, + { "rf_power": 22, "fpga_dig_gain": 4, "ad9361_atten": 44, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1195 }, + { "rf_power": 24, "fpga_dig_gain": 4, "ad9361_atten": 34, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1268 }, + { "rf_power": 25, "fpga_dig_gain": 4, "ad9361_atten": 30, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1662 }, + { "rf_power": 26, "fpga_dig_gain": 4, "ad9361_atten": 24, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1865 }, + { "rf_power": 27, "fpga_dig_gain": 4, "ad9361_atten": 20, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -7, "ad9361_tcomp_coeff_b": -2102 }] + }], + "SX1301_conf":[ + { + "chip_enable": true, + "chip_center_freq": 868000000, + "chip_rf_chain": 0, + "chan_multiSF_0": { "chan_rx_freq": 867100000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 867300000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 867500000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 868100000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 868300000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 868500000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 868300000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 868800000, "bandwidth": 125000, "bit_rate": 50000 } + },{ + "chip_enable": true, + "chip_center_freq": 868000000, + "chip_rf_chain": 1, + "chan_multiSF_0": { "chan_rx_freq": 867100000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 867300000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 867500000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 868100000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 868300000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 868500000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 868300000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 868800000, "bandwidth": 125000, "bit_rate": 50000 } + }], + "lbt_conf":{ + "enable": false, + "rssi_target": -80, /* dBm */ + "rssi_shift": 142, + "chan_cfg":[ /* 16 channels maximum */ + { "freq_hz": 867100000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 867300000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 867500000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 867700000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 867900000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 868100000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 868300000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 868500000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 869525000, "scan_time_us": 5000, "transmit_time_ms": 4000 } + ] + }, + "FSK_sync": "C194C1", + "loramac_public": true, + "nb_dsp": 1, + "dsp_stat_interval": 10, + "aes_key": "ABCDEF0123456789ABCDEF0123456789", + "calibration_temperature_celsius_room": 22, + "calibration_temperature_code_ad9361": 77, + "fts_version": 1, + "fts_match_crc_error": false + }], + "gateway_conf": { + "gateway_ID": "00AEAEFFFE000000", + /* change with default server address/ports */ + "server_address": "iotbeta.semtech.com", + "serv_port_up": 1690, + "serv_port_down": 1690, + /* 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, + /* link testing mote */ + "link_mote": "00CC01AF", + /* Beaconing parameters */ + "beacon_conf":{ + "period": 128, + "freq_hz": 869525000, + "datarate": 9, + "bw_hz": 125000, + "power": 14, + "infodesc": 0 + } + }, + "gps_conf": { + "gw_latitude": 0, + "gw_longitude": 0, + "gw_altitude": 0, + "fixed_altitude": false + } +} diff --git a/recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_full_diversity_JP920 b/recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_full_diversity_JP920 new file mode 100644 index 0000000..7b1b7b0 --- /dev/null +++ b/recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_full_diversity_JP920 @@ -0,0 +1,151 @@ +{ + "SX1301_array_conf":[ + { + "board_type": "MASTER", + "board_rx_freq": 921900000, /* radio RX central frequency in Hz */ + "board_rx_bw": 4000000, /* radio RX bandwidth in Hz */ + "full_duplex": false, /* radio mode */ + "rf_chain_conf":[ + { + /* RX */ + "rx_enable": true, + "rssi_offset": -202.5, + "rssi_offset_coeff_a": 20, + "rssi_offset_coeff_b": 2925, + /* TX */ + "tx_enable": true, + "tx_freq_min": 920800000, + "tx_freq_max": 923400000, + "tx_lut":[ + { "rf_power": 2, "fpga_dig_gain": 5, "ad9361_atten": 135, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 5, "fpga_dig_gain": 5, "ad9361_atten": 122, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 7, "fpga_dig_gain": 5, "ad9361_atten": 115, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 9, "fpga_dig_gain": 5, "ad9361_atten": 108, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -18, "ad9361_tcomp_coeff_b": 573 }, + { "rf_power": 11, "fpga_dig_gain": 5, "ad9361_atten": 100, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -17, "ad9361_tcomp_coeff_b": 477 }, + { "rf_power": 12, "fpga_dig_gain": 5, "ad9361_atten": 96, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 264 }, + { "rf_power": 13, "fpga_dig_gain": 5, "ad9361_atten": 93, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 179 }, + { "rf_power": 14, "fpga_dig_gain": 5, "ad9361_atten": 87, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -15, "ad9361_tcomp_coeff_b": 0 }, + { "rf_power": 16, "fpga_dig_gain": 5, "ad9361_atten": 78, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -14, "ad9361_tcomp_coeff_b": -141 }, + { "rf_power": 18, "fpga_dig_gain": 5, "ad9361_atten": 69, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -550 }, + { "rf_power": 20, "fpga_dig_gain": 5, "ad9361_atten": 61, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -718 }, + { "rf_power": 22, "fpga_dig_gain": 5, "ad9361_atten": 54, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1195 }, + { "rf_power": 24, "fpga_dig_gain": 5, "ad9361_atten": 44, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1268 }, + { "rf_power": 25, "fpga_dig_gain": 5, "ad9361_atten": 40, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1662 }, + { "rf_power": 26, "fpga_dig_gain": 5, "ad9361_atten": 34, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1865 }, + { "rf_power": 27, "fpga_dig_gain": 5, "ad9361_atten": 30, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -7, "ad9361_tcomp_coeff_b": -2102 }] + },{ + /* RX */ + "rx_enable": true, + "rssi_offset": -202.5, + "rssi_offset_coeff_a": 20, + "rssi_offset_coeff_b": 2925, + /* TX */ + "tx_enable": true, + "tx_freq_min": 920800000, + "tx_freq_max": 923400000, + "tx_lut":[ + { "rf_power": 2, "fpga_dig_gain": 5, "ad9361_atten": 135, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 5, "fpga_dig_gain": 5, "ad9361_atten": 122, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 7, "fpga_dig_gain": 5, "ad9361_atten": 115, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 9, "fpga_dig_gain": 5, "ad9361_atten": 108, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -18, "ad9361_tcomp_coeff_b": 573 }, + { "rf_power": 11, "fpga_dig_gain": 5, "ad9361_atten": 100, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -17, "ad9361_tcomp_coeff_b": 477 }, + { "rf_power": 12, "fpga_dig_gain": 5, "ad9361_atten": 96, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 264 }, + { "rf_power": 13, "fpga_dig_gain": 5, "ad9361_atten": 93, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 179 }, + { "rf_power": 14, "fpga_dig_gain": 5, "ad9361_atten": 87, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -15, "ad9361_tcomp_coeff_b": 0 }, + { "rf_power": 16, "fpga_dig_gain": 5, "ad9361_atten": 78, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -14, "ad9361_tcomp_coeff_b": -141 }, + { "rf_power": 18, "fpga_dig_gain": 5, "ad9361_atten": 69, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -550 }, + { "rf_power": 20, "fpga_dig_gain": 5, "ad9361_atten": 61, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -718 }, + { "rf_power": 22, "fpga_dig_gain": 5, "ad9361_atten": 54, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1195 }, + { "rf_power": 24, "fpga_dig_gain": 5, "ad9361_atten": 44, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1268 }, + { "rf_power": 25, "fpga_dig_gain": 5, "ad9361_atten": 40, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1662 }, + { "rf_power": 26, "fpga_dig_gain": 5, "ad9361_atten": 34, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1865 }, + { "rf_power": 27, "fpga_dig_gain": 5, "ad9361_atten": 30, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -7, "ad9361_tcomp_coeff_b": -2102 }] + }], + "SX1301_conf":[ + { + "chip_enable": true, + "chip_center_freq": 922700000, + "chip_rf_chain": 0, + "chan_multiSF_0": { "chan_rx_freq": 922000000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 922200000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 922400000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 922600000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 922800000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 923000000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 923200000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 923400000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 923200000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 923700000, "bandwidth": 125000, "bit_rate": 50000 } + },{ + "chip_enable": true, + "chip_center_freq": 922700000, + "chip_rf_chain": 1, + "chan_multiSF_0": { "chan_rx_freq": 922000000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 922200000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 922400000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 922600000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 922800000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 923000000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 923200000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 923400000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 923200000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 923700000, "bandwidth": 125000, "bit_rate": 50000 } + }], + "lbt_conf":{ + "enable": true, + "rssi_target": -80, /* dBm */ + "rssi_shift": 142, + "chan_cfg":[ /* 16 channels maximum */ + { "freq_hz": 920800000, "scan_time_us": 5000, "transmit_time_ms": 4000 }, + { "freq_hz": 921000000, "scan_time_us": 5000, "transmit_time_ms": 4000 }, + { "freq_hz": 921200000, "scan_time_us": 5000, "transmit_time_ms": 4000 }, + { "freq_hz": 921400000, "scan_time_us": 5000, "transmit_time_ms": 4000 }, + { "freq_hz": 921600000, "scan_time_us": 5000, "transmit_time_ms": 4000 }, + { "freq_hz": 921800000, "scan_time_us": 5000, "transmit_time_ms": 4000 }, + { "freq_hz": 923200000, "scan_time_us": 5000, "transmit_time_ms": 4000 }, + { "freq_hz": 923400000, "scan_time_us": 5000, "transmit_time_ms": 4000 } + ] + }, + "FSK_sync": "C194C1", + "loramac_public": true, + "nb_dsp": 1, + "dsp_stat_interval": 10, + "aes_key": "ABCDEF0123456789ABCDEF0123456789", + "calibration_temperature_celsius_room": 22, + "calibration_temperature_code_ad9361": 77, + "fts_version": 1, + "fts_match_crc_error": false + }], + "gateway_conf": { + "gateway_ID": "00AEAEFFFE000000", + /* change with default server address/ports */ + "server_address": "iotbeta.semtech.com", + "serv_port_up": 1690, + "serv_port_down": 1690, + /* 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, + /* link testing mote */ + "link_mote": "00CC01AF", + /* Beaconing parameters */ + "beacon_conf":{ + "period": 128, + "freq_hz": 923400000, + "datarate": 9, + "bw_hz": 125000, + "power": 14, + "infodesc": 0 + } + }, + "gps_conf": { + "gw_latitude": 0, + "gw_longitude": 0, + "gw_altitude": 0, + "fixed_altitude": false + } +} diff --git a/recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_partial_diversity_EU868 b/recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_partial_diversity_EU868 new file mode 100644 index 0000000..465316e --- /dev/null +++ b/recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_partial_diversity_EU868 @@ -0,0 +1,152 @@ +{ + "SX1301_array_conf":[ + { + "board_type": "MASTER", + "board_rx_freq": 866500000, /* radio RX central frequency in Hz */ + "board_rx_bw": 7000000, /* radio RX bandwidth in Hz */ + "full_duplex": false, /* radio mode */ + "rf_chain_conf":[ + { + /* RX */ + "rx_enable": true, + "rssi_offset": -202.5, + "rssi_offset_coeff_a": 20, + "rssi_offset_coeff_b": 2925, + /* TX */ + "tx_enable": true, + "tx_freq_min": 863000000, + "tx_freq_max": 870000000, + "tx_lut":[ + { "rf_power": 2, "fpga_dig_gain": 4, "ad9361_atten": 125, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 5, "fpga_dig_gain": 4, "ad9361_atten": 112, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 7, "fpga_dig_gain": 4, "ad9361_atten": 105, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 9, "fpga_dig_gain": 4, "ad9361_atten": 98, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -18, "ad9361_tcomp_coeff_b": 573 }, + { "rf_power": 11, "fpga_dig_gain": 4, "ad9361_atten": 90, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -17, "ad9361_tcomp_coeff_b": 477 }, + { "rf_power": 12, "fpga_dig_gain": 4, "ad9361_atten": 86, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 264 }, + { "rf_power": 13, "fpga_dig_gain": 4, "ad9361_atten": 83, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 179 }, + { "rf_power": 14, "fpga_dig_gain": 4, "ad9361_atten": 77, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -15, "ad9361_tcomp_coeff_b": 0 }, + { "rf_power": 16, "fpga_dig_gain": 4, "ad9361_atten": 68, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -14, "ad9361_tcomp_coeff_b": -141 }, + { "rf_power": 18, "fpga_dig_gain": 4, "ad9361_atten": 59, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -550 }, + { "rf_power": 20, "fpga_dig_gain": 4, "ad9361_atten": 51, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -718 }, + { "rf_power": 22, "fpga_dig_gain": 4, "ad9361_atten": 44, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1195 }, + { "rf_power": 24, "fpga_dig_gain": 4, "ad9361_atten": 34, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1268 }, + { "rf_power": 25, "fpga_dig_gain": 4, "ad9361_atten": 30, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1662 }, + { "rf_power": 26, "fpga_dig_gain": 4, "ad9361_atten": 24, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1865 }, + { "rf_power": 27, "fpga_dig_gain": 4, "ad9361_atten": 20, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -7, "ad9361_tcomp_coeff_b": -2102 }] + },{ + /* RX */ + "rx_enable": true, + "rssi_offset": -202.5, + "rssi_offset_coeff_a": 20, + "rssi_offset_coeff_b": 2925, + /* TX */ + "tx_enable": true, + "tx_freq_min": 863000000, + "tx_freq_max": 870000000, + "tx_lut":[ + { "rf_power": 2, "fpga_dig_gain": 4, "ad9361_atten": 125, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 5, "fpga_dig_gain": 4, "ad9361_atten": 112, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 7, "fpga_dig_gain": 4, "ad9361_atten": 105, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 9, "fpga_dig_gain": 4, "ad9361_atten": 98, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -18, "ad9361_tcomp_coeff_b": 573 }, + { "rf_power": 11, "fpga_dig_gain": 4, "ad9361_atten": 90, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -17, "ad9361_tcomp_coeff_b": 477 }, + { "rf_power": 12, "fpga_dig_gain": 4, "ad9361_atten": 86, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 264 }, + { "rf_power": 13, "fpga_dig_gain": 4, "ad9361_atten": 83, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 179 }, + { "rf_power": 14, "fpga_dig_gain": 4, "ad9361_atten": 77, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -15, "ad9361_tcomp_coeff_b": 0 }, + { "rf_power": 16, "fpga_dig_gain": 4, "ad9361_atten": 68, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -14, "ad9361_tcomp_coeff_b": -141 }, + { "rf_power": 18, "fpga_dig_gain": 4, "ad9361_atten": 59, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -550 }, + { "rf_power": 20, "fpga_dig_gain": 4, "ad9361_atten": 51, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -718 }, + { "rf_power": 22, "fpga_dig_gain": 4, "ad9361_atten": 44, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1195 }, + { "rf_power": 24, "fpga_dig_gain": 4, "ad9361_atten": 34, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1268 }, + { "rf_power": 25, "fpga_dig_gain": 4, "ad9361_atten": 30, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1662 }, + { "rf_power": 26, "fpga_dig_gain": 4, "ad9361_atten": 24, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1865 }, + { "rf_power": 27, "fpga_dig_gain": 4, "ad9361_atten": 20, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -7, "ad9361_tcomp_coeff_b": -2102 }] + }], + "SX1301_conf":[ + { + "chip_enable": true, + "chip_center_freq": 867000000, + "chip_rf_chain": 0, + "chan_multiSF_0": { "chan_rx_freq": 866500000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 866700000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 866900000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 867100000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 867300000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 867500000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 867300000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 867800000, "bandwidth": 125000, "bit_rate": 50000 } + },{ + "chip_enable": true, + "chip_center_freq": 868000000, + "chip_rf_chain": 1, + "chan_multiSF_0": { "chan_rx_freq": 869100000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 869300000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 868100000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 868300000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 868500000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 868700000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 868300000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 868800000, "bandwidth": 125000, "bit_rate": 50000 } + }], + "lbt_conf":{ + "enable": false, + "rssi_target": -80, /* dBm */ + "rssi_shift": 142, + "chan_cfg":[ /* 16 channels maximum */ + { "freq_hz": 867100000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 867300000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 867500000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 867700000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 867900000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 868100000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 868300000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 868500000, "scan_time_us": 128, "transmit_time_ms": 400 }, + { "freq_hz": 869525000, "scan_time_us": 5000, "transmit_time_ms": 4000 } + ] + }, + "FSK_sync": "C194C1", + "loramac_public": true, + "nb_dsp": 1, + "dsp_stat_interval": 10, + "aes_key": "ABCDEF0123456789ABCDEF0123456789", + "calibration_temperature_celsius_room": 22, + "calibration_temperature_code_ad9361": 77, + "fts_version": 1, + "fts_match_crc_error": false + }], + "gateway_conf": { + "gateway_ID": "00AEAEFFFE000000", + /* change with default server address/ports */ + "server_address": "iotbeta.semtech.com", + "serv_port_up": 1690, + "serv_port_down": 1690, + /* 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, + /* link testing mote */ + "link_mote": "00CC01AF", + /* Beaconing parameters */ + "beacon_conf":{ + "period": 128, + "freq_hz": 869525000, + "datarate": 9, + "bw_hz": 125000, + "power": 14, + "infodesc": 0 + } + }, + "gps_conf": { + "gw_latitude": 0, + "gw_longitude": 0, + "gw_altitude": 0, + "fixed_altitude": false + } +} diff --git a/recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_single_antenna_16ch_EU868 b/recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_single_antenna_16ch_EU868 new file mode 100644 index 0000000..d6d243f --- /dev/null +++ b/recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_single_antenna_16ch_EU868 @@ -0,0 +1,125 @@ +{ + "SX1301_array_conf":[ + { + "board_type": "MASTER", + "board_rx_freq": 866500000, /* radio RX central frequency in Hz */ + "board_rx_bw": 7000000, /* radio RX bandwidth in Hz */ + "full_duplex": false, /* radio mode */ + "rf_chain_conf":[ + { + /* RX */ + "rx_enable": true, + "rssi_offset": -202.5, + "rssi_offset_coeff_a": 20, + "rssi_offset_coeff_b": 2925, + /* TX */ + "tx_enable": true, + "tx_freq_min": 863000000, + "tx_freq_max": 870000000, + "tx_lut":[ + { "rf_power": 2, "fpga_dig_gain": 4, "ad9361_atten": 125, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 5, "fpga_dig_gain": 4, "ad9361_atten": 112, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 7, "fpga_dig_gain": 4, "ad9361_atten": 105, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -19, "ad9361_tcomp_coeff_b": 752 }, + { "rf_power": 9, "fpga_dig_gain": 4, "ad9361_atten": 98, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -18, "ad9361_tcomp_coeff_b": 573 }, + { "rf_power": 11, "fpga_dig_gain": 4, "ad9361_atten": 90, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -17, "ad9361_tcomp_coeff_b": 477 }, + { "rf_power": 12, "fpga_dig_gain": 4, "ad9361_atten": 86, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 264 }, + { "rf_power": 13, "fpga_dig_gain": 4, "ad9361_atten": 83, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -16, "ad9361_tcomp_coeff_b": 179 }, + { "rf_power": 14, "fpga_dig_gain": 4, "ad9361_atten": 77, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -15, "ad9361_tcomp_coeff_b": 0 }, + { "rf_power": 16, "fpga_dig_gain": 4, "ad9361_atten": 68, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -14, "ad9361_tcomp_coeff_b": -141 }, + { "rf_power": 18, "fpga_dig_gain": 4, "ad9361_atten": 59, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -550 }, + { "rf_power": 20, "fpga_dig_gain": 4, "ad9361_atten": 51, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -13, "ad9361_tcomp_coeff_b": -718 }, + { "rf_power": 22, "fpga_dig_gain": 4, "ad9361_atten": 44, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1195 }, + { "rf_power": 24, "fpga_dig_gain": 4, "ad9361_atten": 34, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -11, "ad9361_tcomp_coeff_b": -1268 }, + { "rf_power": 25, "fpga_dig_gain": 4, "ad9361_atten": 30, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1662 }, + { "rf_power": 26, "fpga_dig_gain": 4, "ad9361_atten": 24, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -9, "ad9361_tcomp_coeff_b": -1865 }, + { "rf_power": 27, "fpga_dig_gain": 4, "ad9361_atten": 20, "ad9361_auxdac_vref": 3, "ad9361_auxdac_word": 770, "ad9361_tcomp_coeff_a": -7, "ad9361_tcomp_coeff_b": -2102 }] + }], + "SX1301_conf":[ + { + "chip_enable": true, + "chip_center_freq": 865600000, + "chip_rf_chain": 0, + "chan_multiSF_0": { "chan_rx_freq": 864900000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 865100000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 865300000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 865500000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 865700000, "spread_factor": "7-12" }, + "chan_multiSF_5": { "chan_rx_freq": 865900000, "spread_factor": "7-12" }, + "chan_multiSF_6": { "chan_rx_freq": 866100000, "spread_factor": "7-12" }, + "chan_multiSF_7": { "chan_rx_freq": 866300000, "spread_factor": "7-12" }, + "chan_LoRa_std" : { "chan_rx_freq": 866100000, "bandwidth": 250000, "spread_factor": 7 }, + "chan_FSK" : { "chan_rx_freq": 866600000, "bandwidth": 125000, "bit_rate": 50000 } + },{ + "chip_enable": true, + "chip_center_freq": 868000000, + "chip_rf_chain": 0, + "chan_multiSF_0": { "chan_rx_freq": 867500000, "spread_factor": "7-12" }, + "chan_multiSF_1": { "chan_rx_freq": 867700000, "spread_factor": "7-12" }, + "chan_multiSF_2": { "chan_rx_freq": 867900000, "spread_factor": "7-12" }, + "chan_multiSF_3": { "chan_rx_freq": 868100000, "spread_factor": "7-12" }, + "chan_multiSF_4": { "chan_rx_freq": 868300000, "spread_factor": "7-12" }, +