summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2018-04-20 16:18:29 -0500
committerJason Reiss <jreiss@multitech.com>2018-04-20 16:18:29 -0500
commitc8c1fbb294db026f55110d1f55b4d3d82e8977e5 (patch)
treec3b3a08ca9f9e63292c2e26f3c2d3b1158ea9fb2
parent273b3788871bdab94040df81d5e375bb361f7fb7 (diff)
parentd2f4c3e0598083ac3ba525fd13819d279ac4139d (diff)
downloadmeta-mlinux-atmel-c8c1fbb294db026f55110d1f55b4d3d82e8977e5.tar.gz
meta-mlinux-atmel-c8c1fbb294db026f55110d1f55b4d3d82e8977e5.tar.bz2
meta-mlinux-atmel-c8c1fbb294db026f55110d1f55b4d3d82e8977e5.zip
Merge branch 'master' of gitlab.multitech.net:mirrors/meta-mlinux
-rw-r--r--conf/distro/mlinux.conf2
-rw-r--r--recipes-connectivity/lora/lora-gateway-geolocation/config.json64
-rw-r--r--recipes-connectivity/lora/lora-gateway-geolocation/config_64ch.json153
-rw-r--r--recipes-connectivity/lora/lora-gateway-geolocation_5.1.0.bb51
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_full_diversity_EU868152
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_full_diversity_JP920151
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_dual_antenna_8ch_partial_diversity_EU868152
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_single_antenna_16ch_EU868125
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_single_antenna_16ch_US915111
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_single_antenna_64ch_US915211
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_loc_single_antenna_full_duplex_64ch_US915216
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_test_dual_antenna_56ch_partial_diversity_EU868237
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_test_single_antenna_16ch_16x1_EU868121
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_test_single_antenna_64ch_64x1_EU868210
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder-geolocation/global_conf.json.MTAC_LORA_2_1_test_single_antenna_64ch_8x8_EU868210
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder-geolocation_5.1.0.bb56
-rwxr-xr-xrecipes-connectivity/lora/lora-packet-forwarder/lora-packet-forwarder.init123
-rw-r--r--recipes-connectivity/lora/lora-packet-forwarder/mtcdt-2.1/lora-packet-forwarder.default2
-rw-r--r--recipes-core/images/mlinux-factory-image.bb2
-rw-r--r--recipes-core/images/mlinux-minimal-image.bb4
-rw-r--r--recipes-core/multitech/config/ppp/peers/lna3_chat_vz4
-rw-r--r--recipes-core/multitech/config/ppp/peers/lvw2_chat4
-rw-r--r--recipes-core/multitech/config_1.0.bb40
-rw-r--r--recipes-core/multitech/config_2.1.bb2
24 files changed, 2313 insertions, 90 deletions
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')}"
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 },
+