This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Storing values using Flash-manager

Hi Team

I would like to store a simple integer value in flash and read it back after a power cycle. I already studied the library Flash-manager of the nRF5 SDK for Mesh v1.0.1. Since I found no example code this seems quite hard to do. Can you give us some example lines of code to write and read simple values to/from flash?

kind regards

Gerry

 

Parents
  • Hi

    I tried to implement this on the server-side of the light switch example with nrf5-SDK-for-mesh 320,

    There some strange behavior when read and write.

    I added flash manager instance and I think it disturbs the mesh flash manager instance then the program collapse.

    Does anyone succeed adding the flash manager to the server?

    Thanks.

Reply
  • Hi

    I tried to implement this on the server-side of the light switch example with nrf5-SDK-for-mesh 320,

    There some strange behavior when read and write.

    I added flash manager instance and I think it disturbs the mesh flash manager instance then the program collapse.

    Does anyone succeed adding the flash manager to the server?

    Thanks.

Children
Related