[riot-notifications] [RIOT-OS/RIOT] SX127x Join procedure failed (The Things Network) (#16419)

José Alamos notifications at github.com
Mon May 17 11:51:31 CEST 2021

Hi @JaccoVeldscholten 
> Steps i took in GNRC (Keys stripped):

This won't work if the device is not receiving downlink packets, since this information is carried there. In order to receive link_checks, the device must be associated. 

> After some days i purchased my own Gateway for LoRa and binded with TTN. Currently im seeing that the device is trying to join. TTN Approves, but than the Join failed.

Does TTN receive uplinks when using ABP? And downlinks? (For TTN the rx2_dr must be configured to DR3, otherwise you won't receive downlinks). With GNRC LoRaWAN, you can run the following:
ifconfig 3 set addr <DEVADDR>
ifconfig 3 set nwkskey <NWKSKEY>
ifconfig 3 set appskey <APPKSKEY>
ifconfig 3 set rx2_dr 3
ifconfig 3 up

/* ifconfig wil show "Link: Up" because there's no handshake using ABP and the device is assumed to be joined */
Then try to schedule uplinks and downlinks from the network server.
send 3 Test

This could reveal quite some useful information in order to track down the issue, so please let us know how this goes.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210517/990d8a0a/attachment.htm>

More information about the notifications mailing list