I Cube LrWan Bug on CalculateBackOff (on Join procedure)
The CalculateBackOff method of teh i cuve lrwan is too old and contains a major bug for join duty cycle procedure.
The calcBackOff
.
ElapsedTime is always now !.
In case of a new Initiliazation of the LoRa Stack, maybe 10 hours after the RTC startup, the join procedure will be delayed. This elapsed time must be the the
LoRaMacInitializationTime as made in the official semtech repo, see following diff....https://github.com/Lora-net/LoRaMac-node/commit/ab4a779cc4f159d39b4b0409bd7392d3e4d2cf7b
https://github.com/Lora-net/LoRaMac-node/commit/f8ad47e4b73370ee1e977866fa1946f274a362aa
In is really a mess that your fork of the semtech official repo is not on github to can update easily all correction made on the official repo.
#i-cube-lrwan