Skip to main content
Associate II
Feb 24, 2025 4:06 PM UTC
Question

LoraWAN Context Manager

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

This topic has been closed for replies.

4 replies

vicrr
ST Employee
Feb 24, 2025 4:34 PM UTC

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
Feb 24, 2025 5:48 PM UTC

Thanks 

 

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

JesusAVCAuthor
Associate II
Feb 25, 2025 7:09 PM UTC

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