LoRaWAN how to use session #828
Replies: 2 comments 1 reply
-
-1105 is You could try running the library in debug mode to see if there is further information. As a workaround, you can force the the device to always join on startup by setting |
Beta Was this translation helpful? Give feedback.
-
Thanks! I'll do some testing soon with debug mode enabled and see what happens. Force-rejoining will also require resetting the device on TTN so that's not really helpful on v1.1 😅 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use an ESP32-S3 with SX1262, together with LoRaWAN from RadioLib.
On first boot, it all worked fine (properly joined, nicely sending uplinks and receiving downlinks - although I still need to look how to format downlinks such that I receive what I send from TTN).
Minor note is that it defaults to SF12 (join and uplinks) which is not great practice, but I'll at least wait for ADR implementation.
Question is: how do I resume the session after a reset / reboot / deepsleep?
Just calling
node.begin()
after a power-on reset / flash reset results inResuming previous session ... success!
, but any subsequent uplinks and downlinks fail with codes -12 and -1105 respectively. What should I do?Beta Was this translation helpful? Give feedback.
All reactions