Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DevNonce has already been used #196

Open
IoTThinks opened this issue May 26, 2024 · 4 comments
Open

DevNonce has already been used #196

IoTThinks opened this issue May 26, 2024 · 4 comments

Comments

@IoTThinks
Copy link
Contributor

The library takes a while with many Joinings to have JoinAccepted.
It needs to try its lucks with random devNonce in the Join Request.
image

By right, the library should save the devNonce persistently in the flash and increase devNonce when doing a new join.
image

@areytechai
Copy link

i got also this problem, anyway to fix? or create random ?

@areytechai
Copy link

Still waiting udpate, anyone?

@Khaiminh2310
Copy link

Hi @IoTThinks, @areytechai
Please see this comment here to fix this issue on ESP32.

@sabas1080
Copy link
Member

Hello

Thank you for reporting this.
This patch is available in the branch Pullrequest 181.

If you are using ESP32, follow these steps to try the patch:

Uninstall the Beelan-LoRaWAN library from Arduino IDE. I suggest you also delete the "Beelan-LoRaWAN" folder from your Arduino > libraries directory.
Download the ZIP file from the branch solve several problems. Go to Code > Download ZIP.
Open your Arduino sketch and go to Sketch > Include Library > Add .ZIP library and look for the .ZIP file you downloaded in the previous step.
Compile and upload the sketch.
Please let us know if you need further assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants