You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically we can see that the Node is able to join the Lora network (593337: EV_JOINED), but fails to send the first uplink packet and keeps retrying.
Logging on the AWG ubuntu machine and checking the logs with journalctl -f -u loraserver I noticed the following lines appearing right after the node sends the "Packet queued" message:
Sep 24 20:20:15 ip-172-31-45-153 loraserver[18826]: time="2018-09-24T20:20:15Z" level=error msg="processing uplink frame error" data_base64=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX error="create uplink frame-log error: marshal phypayload error: lorawan: max value of Margin is 31"
The text was updated successfully, but these errors were encountered:
frazar
changed the title
node hangs after "Packet queued" message
Node hangs after "Packet queued" message
Sep 24, 2018
I take it that this is not "The Things Network" as the network server? Definitely agree that this is a problem, but I need more context, as I've not seen this in my testing. (Need to figure out what additional test coverage is needed.)
OK, cool! Another test case.... Interesting to think about how one could do hardware-in-the-loop testing with this.
You will probably find that this version of the LMIC stack doesn't do a great job with MAC command responses. See issue #87 for details. TL;DR: it doesn't built the response as it's parsing the request, so things can go back out of order (or not at all).
frazar
changed the title
Node hangs after "Packet queued" message
Fix coding of the "Margin" field in DevStatusAns payload
Sep 26, 2018
frazar
changed the title
Fix coding of the "Margin" field in DevStatusAns payload
Node hangs after "Packet queued" message
Sep 26, 2018
frazar
changed the title
Node hangs after "Packet queued" message
The "Margin" field of the "DevStatusAns" command payload is wrongly encoded
Sep 26, 2018
Tested with Arudino Mega 2560 connected to RFM95 module.
Add the following two lines to
project_config/lmic_project_config.h
:After running a slightly modified version of the
ttn-otaa
sketch, this is the output on the Serial.Basically we can see that the Node is able to join the Lora network (
593337: EV_JOINED
), but fails to send the first uplink packet and keeps retrying.Logging on the AWG ubuntu machine and checking the logs with
journalctl -f -u loraserver
I noticed the following lines appearing right after the node sends the "Packet queued" message:The text was updated successfully, but these errors were encountered: