LoRaWAN device join process can succeed only follow counter dev nonce when device is reset.
I have a LoRaWAN end node project with STM32CubeWL MCU Firmware Package v1.3.0.
I'm using LoRaMAC version 1.0.4. What confuses me is why my end node device can successfully join to the gateway based on the increment value of the dev nonce.
The detailed explanation is like this:
When the device is turned on for the first time, the device successfully joins the gateway on the first request and the dev nonce value is equal to 1. Then when my device is reset or turned off then turned on again, the device fails to join the gateway on the first request and the dev none value is equal to 1. But when in the second request and the dev nonce value is equal to 2, the device successfully joins to the gateway and so on like that.
Why did it happen? Is it based on the LoRaMAC version I'm using ?
What I need is that the device will attempt to successfully join to the gateway on the first request when i.e. it is reset many times, regardless of the value of the dev nonce or any other parameters. Is there a solution to my needs ?
Note: I'm using the default parameter settings from the example project LoRaWAN end node with AS923 region.
Any assistance would be greatly appreciated
