You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 30, 2025. It is now read-only.
I'm using ESP32 boards + a LoRa modules. Sometimes when my devices wake up and reach the Network Server using the OTAA method, my console throw that type of error : "devnonce has already been used". I think there might be two ways this could be solved.
Modifying the static void Generate_DevNonce(unsigned char *DevNonce) in LoRaMAC.ccp file and add a few lines checking wether the code is compiled for an ESP32 to use it's embedded real number generator instead of the basic random() function from arduino library.
Add to the LoRaWANClass class a method that would allow us to setup up DevNonce for each joinRequest.
I hope my contribution will help improving this library.