Skip to main content
Associate II
February 24, 2025
Question

LoraWAN Context Manager

  • February 24, 2025
  • 2 replies
  • 695 views

Hi everyone

I having  issues trying to use "CONTEXT_MANAGEMENT_ENABLED " option in LoraWAN examples . I couldn't find "nvmm.h" library. Where can I find it ?.

Is this feature fully functional ? Do you have any examples or is it just activate the "define" . 

Finally is the 2021 version of LoraWAN cube package the last one ? https://www.st.com/en/embedded-software/i-cube-lrwan.html . 

 

Thanks in advance

2 replies

VicR
ST Employee
February 24, 2025

Hello,

The Cube LRWAN package you mentioned it not the latest one and has not been updated for years.

We recommend you to use the STM32CubeWL ( https://www.st.com/en/embedded-software/stm32cubewl.html ) where you can find many SW examples for LoRaWAN End_Node, AT_Slave, etc.

Regards,
Victor.

JesusAVCAuthor
Associate II
February 24, 2025

Thanks 

 

About the patch  may I do it manually ? I clearly see that is recently* update 2024 sounds great !

JesusAVCAuthor
Associate II
February 25, 2025

Thanks VicR I was able to use the last version . I replace all the files from patch to the main cube folder .

However I've noticed that the join fails too much . The old code was failing less , but both never join at the first try. Do you know if there's some configuration or procedure that could be missing ? 

JesusAVC_0-1740510339607.png

I'm using TTN and the most of the try that you can see above not even appear in the dashboard logs . After the joining the next messages arrives without problem . 

So far I'm reviewing timeouts and RX windows but it's weird why with the old fail the first time as well.

I need that it works for the first time and also save the context to save power . This way the device can then just send the data and no waste time joining.

Thanks in advance