Hi TTN Community!
After successful installation of a TTN Gateway based on Raspberry Pi and IMST IC880A some weeks ago in my home (i’ve already seen it forwarding data from other people’s devices into TTN), I tried to build an STM32 based node to play around with.
Unfortunately, I can’t get my node to join the application. Now I’m looking for ways to debug the join process to get a clue WHY it’s not working…
The Node is an STM32 NUCLEO-L053R8 board with the SX1272 MB2xAS board on top. I used ST’s I-CUBE-LRWAN example project for this first test.
To play with it, I set up an application in TTN console, registered the device’s EUI (retrieved from the debugging output of the ST example program) and set the LORAWAN_JOIN_EUI and LORAWAN_APP_KEY constants in Commissioning.h of the STM code according to the data provided by the TTN console for my device and also enabled OTAA.
So far so good, When I turn on the Node, I can see the Join Requests coming in via my own TTN Gateway’s Traffic Monitor page in TTN console. The APP EUI and Device EUI are correct, too.
BUT… I don’t see any mention of that Join Request in the data monitor pages of the application and device inside TTN Console.
From what I could find in various posts here and elsewhere, this would most likely happen due to invalid Join requests. Unfortunately, there is no useful feedback from the TTN console about whether there is something strange with a Join request or if it is forwarded towards an application.
I double-checked the AppKey is configured correctly in my STM32 firmware, also the App EUI of the incoming Join Requests displayed in my gateway’s Traffic Monitor in TTN console shows the correct Value. But no information bout that Join Request pops up inside the application console.
Maybe someone can give me a hint where I can find some more useful debug information about the Join Requests in TTN Console or documnetation on how to interpret the “payload” field content of the “Event Data” JSON in the Traffic Monitor? Is there some utility to decode the payload, knowing the App_Key?
I’ve spend an entire day on this without making any progress so far and maybe I’m just missing some detail?
Thanks a lot!