cancel
Showing results for 
Search instead for 
Did you mean: 

I Cube LrWan Bug on CalculateBackOff (on Join procedure)

Fabien LETORT
Associate II
Posted on April 27, 2017 at 11:23

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
5 REPLIES 5
Amel NASRI
ST Employee
Posted on May 05, 2017 at 11:55

Hello

LETORT.Fabien

‌,

Please note that your feedback & proposal are reported internally for farther check. I will keep you informed if I get more details on this regard.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Amel NASRI
ST Employee
Posted on May 05, 2017 at 17:35

Hello

LETORT.Fabien

‌,

As already asked in

https://community.st.com/0D50X00009XkXv1SAF

, could you please provide following details:

  • which I-CUBE-LRWAN version are you using?
  • what is exactly the example you tested (to reproduce the issue)?
  • As HW, is it theP-NUCLEO-LRWAN1?

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Amel NASRI
ST Employee
Posted on May 16, 2017 at 11:00

Hello

LETORT.Fabien

‌,

Please note that a new version of I-CUBE-LRWAN is planned to be available soon in order to support latest fixes from GitHub on the Mac.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Posted on May 20, 2017 at 09:01

Just to add that Fabien's point '

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.' in my view has much merit.  Although this presumably would require a significant shift in STM's approach to making software available.

Amel NASRI
ST Employee
Posted on June 11, 2018 at 10:50

Hello,

Please note that a version

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/i-cube-lrwan.html

of I-CUBE-LRWAN is available on the web and should be fixing some issues reported here as well as others.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.