Hi
I´m trying to connect the STM32WL Nucleo board to the TTN using the example software provided by STM (using the CubeMX and Cube IDE) and OTAA activation but only get “JOIN Failed” messages from the ST Nucleo Board.
I´ve tried the “Endnode” example and the “AT Slave” one but it´s always the same. As i can see the blue LED flashing on the Nucleo, i get a message from TTN (also prompted on the serial port) but no acknoledge.
I´ve checked and also changed the keys a few times, tried different settings in the TTN console, and varied the distance between the node and the gateway with no difference. The Messages in the TTN Console don´t show an error or i am not able to figure it out.
I´ve done a few scrennshots of the used settings and the messages on the TTN console. The used gateway is the “The things indoor gateway” which seems to work fine.
Keys on the Nucleo Board
Settings (AT+JN1DL: Join delay on RX window 1/2, AT+RX1DL: Delay of the received window 1/2)
Try to join the network
And the response in the TTN console
Please help me troubleshoot my join problem.
Has anyone successfully tried to connect the STM32WL to TTN using the example software?
Hi
I used the original Code from ST provided for the STM32wl devices. You can find it here
This is the software package including many examples for STM32WL dual core devices (single core, dual core, end node, AT command slave, and also an Firmware update over the air example. But i havent tried them all yet).
The Problem in my case seems to be the LoRaWAN Version. With V1.1 i was not able to get my end device joined to the things network. When i choose V1.0.3 it´s joining TTN without any problems now. My mistake was, that in V1.0.3 versus V1.1. the LoRaWAN APP Key and the LoRawanNWKKey are changed/different.
So after changing the Version to 1.0.3 and correcting the Keys it´s working fine.
The Software Package is also included into the STM32CubeMX Firmware (use the latest Version!).
There you can type the keys and settings really easy, but CubeMX seems to use the V1.1 names of the keys.