{"id":30689,"date":"2020-06-09T13:16:04","date_gmt":"2020-06-09T18:16:04","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=30689"},"modified":"2022-08-17T09:15:15","modified_gmt":"2022-08-17T14:15:15","slug":"mtac-lora-2g4-3","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/lora\/mtac-lora-2g4-3\/","title":{"rendered":"MTAC-LORA-2G4-3"},"content":{"rendered":"<p>The MTAC-LORA-2G4-3 card provides support for 2.4G LoRa devices.<\/p>\n<p>Since mPower 5.2.1 the MTAC-LORA-2G4-3 card can be used in Network Server and Packet forwarder modes.<\/p>\n<h2>mPower 5.2.1 Update<\/h2>\n<p>The final release from Semtech was shortly after our mPower 5.2.1 release.<\/p>\n<ol>\n<ol>\n<li>MCU version needs to be 1.0.1<br \/>\n<a href=\"https:\/\/github.com\/Lora-net\/gateway_2g4_hal\">https:\/\/github.com\/Lora-net\/gateway_2g4_hal<\/a><br \/>\n<a href=\"https:\/\/github.com\/Lora-net\/gateway_2g4_hal\/tree\/master\/mcu_bin\">https:\/\/github.com\/Lora-net\/gateway_2g4_hal\/mcu_bin<\/a><\/li>\n<li>To update the MCU firmware download the MCU 1.0.1 firmware from the above repo and copy the file to the conduit.\n<pre>$ sudo \/etc\/init.d\/lora-network-server stop \r\n$ wget https:\/\/github.com\/Lora-net\/gateway_2g4_hal\/raw\/master\/mcu_bin\/rlz_fwm_gtw_2g4_01.00.01.bin\r\n$ sudo \/opt\/lora\/mcu-2g4-boot ON \r\n$ sudo dfu-util -a 0 -s 0x08000000:leave -t 0 -D rlz_fwm_gtw_2g4_01.00.01.bin<\/pre>\n<\/li>\n<li>Packet forwarder should be updated to 1.0.1<br \/>\n<a href=\"https:\/\/www.multitech.net\/developer\/downloads\/\">https:\/\/www.multitech.net\/developer\/downloads\/<\/a><br \/>\n<a href=\"http:\/\/www.multitech.net\/downloads\/lora-gateway-2g4_1.0.1-r2.0_arm926ejste.ipk\">http:\/\/www.multitech.net\/downloads\/lora-gateway-2g4_1.0.1-r2.0_arm926ejste.ipk<\/a><\/li>\n<li>To update the packet forwarder copy the ipk from the link above to the conduit<\/li>\n<\/ol>\n<\/ol>\n<pre>$ wget http:\/\/www.multitech.net\/downloads\/lora-gateway-2g4_1.0.1-r2.0_arm926ejste.ipk\r\n$ sudo opkg install lora-gateway-2g4_1.0.1-r2.0_arm926ejste.ipk\r\n$ cd \/var\/run\/lora\/1\/\r\n$ sudo .\/lora_pkt_fwd\r\n*** Packet Forwarder 2.4Ghz***\r\nVersion: 1.0.0\r\n*** HAL library version info ***\r\nVersion: 1.0.0;\r\n***\r\nINFO: Little endian host\r\nINFO: found configuration file global_conf.json, parsing it\r\nINFO: global_conf.json does contain a JSON object named radio_conf, parsing radio parameters\r\nINFO: tty_path \/dev\/ttyACM0\r\nINFO: antenna_gain 0 dBi\r\nINFO: LoRa sync_word 0x21 (public)\r\nINFO: channel 0 enabled: frequency 2403000000, bandwidth 812000Hz, SF12, RSSI offset 0.0\r\nINFO: channel 1 enabled: frequency 2425000000, bandwidth 812000Hz, SF12, RSSI offset 0.0\r\nINFO: channel 2 enabled: frequency 2479000000, bandwidth 812000Hz, SF12, RSSI offset 0.0\r\nINFO: TX enabled, freq min 2400000000Hz, freq max 2500000000Hz\r\nINFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters\r\nINFO: gateway MAC address is configured to 0008000000000206\r\nINFO: server hostname or IP address is configured to \"127.0.0.1\"\r\nINFO: upstream port is configured to \"1780\"\r\nINFO: downstream port is configured to \"1782\"\r\nINFO: downstream keep-alive interval is configured to 10 seconds\r\nINFO: statistics display interval is configured to 20 seconds\r\nINFO: upstream PUSH_DATA time-out is configured to 120 ms\r\nINFO: packets received with a valid CRC will be forwarded\r\nINFO: packets received with a CRC error will be forwarded\r\nINFO: packets received with no CRC will NOT be forwarded\r\nINFO: Auto-quit after 10 non-acknowledged PULL_DATA\r\nINFO: Concentrator MCU version is V01.00.01\r\nINFO: Configuring RX channel 1 =&gt; freq:2425000000 sf:12 bw:800khz\r\nINFO: Configuring RX channel 2 =&gt; freq:2479000000 sf:12 bw:800khz\r\nINFO: Configuring RX channel 0 =&gt; freq:2403000000 sf:12 bw:800khz\r\nINFO: [main] concentrator started, packet can now be received\r\nINFO: concentrator EUI: 0x6f347a3917513834\r\n\r\nCTRL-C to stop\r\n$ sudo \/etc\/init.d\/lora-network-server start<\/pre>\n<h2>Channel Configuration<\/h2>\n<p>The MTAC-LORA-2G4-3 supports three channels using a single datarate at 812 kHz bandwidth . A new coding rate, &#8220;4\/7LI&#8221;, is used.<\/p>\n<h2>Packet Forwarder Global Config<\/h2>\n<p><a href=\"https:\/\/www.multitech.net\/developer\/wp-content\/uploads\/2020\/06\/global_conf.json_.2g4.txt\">global_conf.json.2g4<\/a><\/p>\n<h2>Uplink JSON<\/h2>\n<pre>{\r\n\t\"rxpk\": [{\r\n\t\t\"jver\": 1,\r\n\t\t\"tmst\": 402866437,\r\n\t\t\"chan\": 2,\r\n\t\t\"freq\": 2425.000000,\r\n\t\t\"foff\": 265,\r\n\t\t\"stat\": 1,\r\n\t\t\"modu\": \"LORA\",\r\n\t\t\"datr\": \"SF12BW812\",\r\n\t\t\"codr\": \"4\/7LI\",\r\n\t\t\"lsnr\": -3.0,\r\n\t\t\"rssi\": -105,\r\n\t\t\"size\": 23,\r\n\t\t\"data\": \"AAAAANB+1bNwExGZEQAAgAARAMLVDq4=\"\r\n\t}]\r\n}<\/pre>\n<h2>Downlink JSON<\/h2>\n<pre>{\r\n\t\"txpk\": {\r\n\t\t\"codr\": \"4\/7LI\",\r\n\t\t\"data\": \"IMw+Dwc9QaSJi7Mfi7ns2TIbutmOSs1r22RedVkreJFz\",\r\n\t\t\"datr\": \"SF12BW812\",\r\n\t\t\"freq\": 2425,\r\n\t\t\"ipol\": true,\r\n\t\t\"modu\": \"LORA\",\r\n\t\t\"ncrc\": true,\r\n\t\t\"powe\": 7,\r\n\t\t\"rfch\": 0,\r\n\t\t\"size\": 33,\r\n\t\t\"tmst\": 38604060\r\n\t}\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The MTAC-LORA-2G4-3 card provides support for 2.4G LoRa devices. Since mPower 5.2.1 the MTAC-LORA-2G4-3 card can be used in Network Server and Packet forwarder modes. mPower 5.2.1 Update The final release from Semtech was shortly after our mPower 5.2.1 release. MCU version needs to be 1.0.1 https:\/\/github.com\/Lora-net\/gateway_2g4_hal https:\/\/github.com\/Lora-net\/gateway_2g4_hal\/mcu_bin To update the MCU firmware download the [&hellip;]<\/p>\n","protected":false},"author":1337,"featured_media":0,"parent":8462,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-30689","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/30689","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/users\/1337"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=30689"}],"version-history":[{"count":13,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/30689\/revisions"}],"predecessor-version":[{"id":33001,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/30689\/revisions\/33001"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/8462"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=30689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}