Jason Reiss
Forum Replies Created
-
AuthorPosts
-
Jason Reiss
KeymasterJason Reiss
KeymasterPacket forwarder uses UDP to connect to the network server. Ethernet or wifi is recommended.
The network server must be able to open UDP ports on the public interface and allow incoming connections.
Depending on the network provider this may not be possible on a GSM network.
Jason Reiss
KeymasterThe frame counter must be maintained on the end-device.
If the frame counter resets to 0 the network server will reject packets, avoiding replay attack, until the counter reaches the last received value.
Jason Reiss
KeymasterThere is not a repeating system connecting Conduits over LoRa RF.
The Conduits must be networked over ethernet or wifi.
Jason Reiss
KeymasterJason Reiss
KeymasterWith whitelist disabled how do you expect end-devices to join the network?
An empty whitelist would have the same effect as disable.
This will work.
admin@mtcdt:~# curl 127.0.0.1/api/loraNetwork/whitelist -X PUT -d '{"enabled":false}' -H 'Content-Type: application/json'
If using the NetworkID/NetworkKey end-devices are accepted regardless of whitelist as the end-device has the correct credentials.
Whitelist is a method to allow unique deveui/appkey pairs.
-
This reply was modified 7 years, 1 month ago by
Jason Reiss.
-
This reply was modified 7 years, 1 month ago by
Jason Reiss.
May 8, 2018 at 11:02 am in reply to: I have updated Conduit to 1.4.16, but gateway stats still not working. #23404Jason Reiss
KeymasterI assume it is in source code.
May 8, 2018 at 6:48 am in reply to: I have updated Conduit to 1.4.16, but gateway stats still not working. #23393Jason Reiss
KeymasterOtherwise if you are able to modify the lora server code to accept v1 or v2 UDP packets.
May 8, 2018 at 6:46 am in reply to: I have updated Conduit to 1.4.16, but gateway stats still not working. #23392Jason Reiss
KeymasterYes, that is the easiest way, USB interface to the MTAC card is not included with the updated packet forwarder using v2 protocol.
It may be possible to use a UDP bridge between the packet forwarder and network server to modify the protocol version byte to mimic v2.
The uplink and downlink UDP packets are compatible between versions. v2 has added feedback from the packet forwarder JIT queueing.https://github.com/Lora-net/packet_forwarder/blob/master/PROTOCOL.TXT
Jason Reiss
KeymasterThe network server will de-duplicate the received packets. Each fcnt is only delivered to the application once.
May 7, 2018 at 9:21 am in reply to: I have updated Conduit to 1.4.16, but gateway stats still not working. #23386Jason Reiss
KeymasterWhat is the model of installed MTAC-LORA card?
MTAC-LORA-1.5 is required for v2 protocol packet forwarder.AEP Dashboard lists the card information.
Accessory cards
Card 2 (AP2)
Model Number MTAC-LORA-868
Serial Number xxxxxxxx
Hardware MTAC-LORA-1.0May 7, 2018 at 7:09 am in reply to: I have updated Conduit to 1.4.16, but gateway stats still not working. #23382Jason Reiss
KeymasterHello 10350 2058,
What is the issue and what are you trying to do?
Looks like you may be attempting to connect to the things network?
https://www.thethingsnetwork.org/docs/gateways/multitech/aep.html
https://www.thethingsnetwork.org/docs/gateways/packet-forwarder/semtech-udp.htmlBasic AEP instructions.
AEP 1.4.16 has a GUI to help configure of the packet forwarder
http://www.multitech.net/developer/software/aep/lorawan-aep/lorawan-network-settings/Select Channel Plan US915 or EU868 or Other region
Select FSB 2 if using US915
Set server address and up/down ports to the remote server.
Click Submit
Restart LoRa Services to enact changes.Save or Save and Restart to make changes permanent.
May 4, 2018 at 11:25 am in reply to: What is the new lora-query command for adding nodes in MTCAP #23366Jason Reiss
KeymasterPlease open a support ticket at support.multitech.com and provide full configuration and log info.
Jason Reiss
KeymasterThey are not the same and the mts-fpga-loader utility will not install them.
We may look at including the 863 version of firmware in a future version.They should be functionally equivalent. The versions installed on the Conduit have unique signatures that are verified by the mts-fpga-loader utility.
-
This reply was modified 7 years, 1 month ago by
Jason Reiss.
May 3, 2018 at 7:25 am in reply to: What is the new lora-query command for adding nodes in MTCAP #23358Jason Reiss
KeymasterCRC-ERROR is probably not caused by your device.
See Network Communications > Possible Issues section of the linked troubleshooting guide.
http://www.multitech.net/developer/wp-content/plugins/download-monitor/download.php?id=44May 3, 2018 at 7:20 am in reply to: Connection of packet forwarder as range extender / network bridge #23357Jason Reiss
KeymasterThis is not possible with packet forwarder.
There is no method for forwarding packets over lora in a bi-directional manner. I could be possible to repeat the received packets on the forwarding Conduit.
The packet forwarder has no database of EUI or DevAddr. It only forwards packets to a network server for authentication and decryption. There is no EUI configuration available in the global_conf.json file.
Conduits can be connected via Ethernet with one being a packet forwarder and the other a network server and packet forwarder to increase range.
Jason Reiss
KeymasterIt appears the v33 LBT firmware does not support frequencies below 915 MHz.
LBT is not required for LoRaWAN use in EU868, LoRaWAN uses duty-cycle.
See lines 125-140. The minimum lbt frequency is pulled from the FPGA firmware. A new FPGA firmware may be needed to support LBT for these frequencies.
https://github.com/Lora-net/lora_gateway/blob/master/libloragw/src/loragw_lbt.c-
This reply was modified 7 years, 1 month ago by
Jason Reiss.
Jason Reiss
KeymasterFor MTCDT it depends on the installed card.
MTAC-LORA-1.5 has the FPGA and can be upgraded.
MTAC-LORA-1.0 does not have an FPGA.Jason Reiss
KeymasterCheck AT+TXDR
I am guessing you may have DR8-DR13 chosen, possibly from peer-to-peer mode?Change to DR0-DR4
AT+TXDR=DR0Jason Reiss
KeymasterMy earlier post mistakenly said the FPGA upgrade was available on MTCAP-0.0 when it is not.
I have modified the earlier post.
MTCAP-0.1 is required to use the mts-fpga-loader. The error message is expected.
Jason Reiss
KeymasterIf mts-fpga-loader utility or mts-flash-binaries are not available on your installation. Upgrade to latest AEP or mLinux.
Jason Reiss
KeymasterUpgrading the FPGA is only supported on MTCAP-0.1
admin@mtcap:~# mts-io-sysfs show hw-version MTCAP-0.1<code></code>admin@mtcap:~# mts-fpga-loader -c Checking hardware compatibility Found Valid Hardware: MTCAP-LORA-1.5 Valid FPGA version: 31
FPGA v33 is needed for LBT
admin@mtcap:~# /etc/init.d/lora-network-server stop admin@mtcap:~# mts-fpga-loader -i /usr/lib/mts-flash-binaries/mtcap-fpga-v33.hex admin@mtcap:~# mts-fpga-loader -c Checking hardware compatibility Found Valid Hardware: MTCAP-LORA-1.5 Valid FPGA version: 33
admin@mtcap:~# /etc/init.d/lora-network-server start
EDIT: FPGA upgrade only on MTCAP-0.1, not MTCAP-0.0
-
This reply was modified 7 years, 2 months ago by
Jason Reiss.
-
This reply was modified 7 years, 2 months ago by
Jason Reiss.
-
This reply was modified 7 years, 2 months ago by
Jason Reiss.
Jason Reiss
KeymasterJoshua,
Please have a look at the following docs for info on registering nodes in AEP.
Introduction to LoRaWAN on AEP
Upgrade Guide
https://www.multitech.net/developer/wp-content/plugins/download-monitor/download.php?id=46Troubleshooting Guide
https://www.multitech.net/developer/wp-content/plugins/download-monitor/download.php?id=44Jason Reiss
KeymasterAT+DLC will report the last received counter
AT Firmware source is available here for modifications
https://os.mbed.com/teams/MultiTech/code/Dot-AT-Firmware/Or a custom firmware could be created using the library
https://os.mbed.com/teams/MultiTech/code/libxDot-mbed5/Jason Reiss
KeymasterWe will take a look into this for next release.
In the meantime AT+SD provides a serial passthrough that can be used.
When in serial mode issue +++ with 1 second guard times to escape.
Jason Reiss
KeymasterThe packet does not pass because the MIC cannot be validated. Either the end-device has lost the session keys and the counter, or the network server has lost the session. It should be easy to look at the session keys on the Conduit right after the device joins and see if they have changed when you see the issue.
There is no problem of missed packets in either case. The counter can always be moved forward, up to 16384 missed packets.
The issue is when the counter decreases at the end-device or it is reset to zero, as the case with some devices on power cycle.Is the end-device counter being reset to 0 at any time?
This is not expected behavior of an OTA end-device. The counter should only increase.Have you checked that the RN2463 has been updated to the latest firmware?
Jason Reiss
KeymasterThe reason for MIC fails is a mismatch in Session Keys or Frame Counters.
What end-device is being used?
How many packets are received OK before the issue starts?Do you have reason to have the strict counter disabled?
11:50:49:298|WARNING| Performing lazy check of counter, replay attack possibleUsually this is used for end-devices that cannot save counter state.
Perhaps try to re-enable this if possible.
Otherwise if the device does lose the counter perhaps the key is lost too and a join is necessary to regain connectivity.Jason Reiss
KeymasterWhat gcc arm version are you using?
Have you tried gcc-arm-none-eabi-6-2017-q2-update?Jason Reiss
KeymasterHow is the end-device joined to the Conduit? OTAA or ABP
Does this key match the end-device Network Session Key?
68.44.bf.f1.51.c9.f5.0c.bd.5f.1f.d8.31.90.0f.8cApparently there is a record of DevAddr 01:0f:1e:4f associated with DevEUI 01-23-a3-0b-00-1e-a5-a0 on Conduit.
Have you upgraded to AEP 1.4.16, the session information is available through the GUI. Keys and counter values. Check that the settings are matching the end-device.
Jason Reiss
KeymasterConduit Setting Frequency SubBand : 2 has the following channels.
This should match your uplink channels.Index Frequency DR Max Min On
0 903900000 3 0 1
1 904100000 3 0 1
2 904300000 3 0 1
3 904500000 3 0 1
4 904700000 3 0 1
5 904900000 3 0 1
6 905100000 3 0 1
7 905300000 3 0 1
U 904600000 4 4 1
R2 923300000 8 8The first receive window will depend on uplink channel.
RX1 – 0,923.3; 1,923.9; 2,924.5; 3,925.1; 4,925.7; 5,926.3; 6,926.9; 7,927.5;
Default RX2 – 923.3 DR8These appear to be misspellings, but looking at other examples they appear to be correct for the library.
https://zakelijkforum.kpn.com/lora-forum-16/seeeduino-lorawan-on-the-kpn-network-8895
setDeciveMode
setReceiceWindowFirstHave a look at this project, it appears to setup the channels differently.
Setting to US915 hybrid should initialize the tx and rx channels.
https://github.com/toddkrein/OTAA-LoRaWAN-SeeedI don’t know what frequencies will be set for hybrid on the end-device, you may want to experiment with Frequency SubBand settings on the Conduit. I would try first with 1 and then 2.
There are a few other projects to look at on github as well.
https://github.com/search?utf8=%E2%9C%93&q=seeed+lorawan&type= -
This reply was modified 7 years, 1 month ago by
-
AuthorPosts