-
Notifications
You must be signed in to change notification settings - Fork 97
Fixing retries handling on join #205
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
Conversation
|
What is the bug exactly? From what I see this only introduces an unnecessary infinite retry. |
|
At commit 402619e was introduced -1 as infinite retry. But that inserts an an bug. If u set retries for example to 2 this will be result it there is no signal from LoRaWAN GW. From 2 you fall down to infinity. |
|
I agree that we have a bug here. I will look at merging this in on Wednesday. Can you please sign the CLA in the meantime @VyvojRSnet? |
|
Thanks for this bug report. I can indeed reproduce this. Your fix is also correct, however I prefer a more simple solution. See #207 |
|
#207 is nicer, shorter, but there is no good practice to modify variable in one part of compound condition. |

There was an bug, that caused inifinity loop till join was successful.