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

Advertisement Data stored in Flash Memory

I have nrf52840 dongle and sdk nRF5_SDK_17.0.0_9d13099.

I would like to know, is there is an example in which, Advertisement Data is stored in flash memory and reading and writing can be done on it.

In order to protect data from getting erase after dongle turns off and on.

I saw the example of storing data in flash memory, but would like to know, how do I point the advertisement data to flash memory.

regards

Shailesh

Parents Reply
  • Hi Jsared,

    As per your suggestion, I used the FDS library and stored advertising data.

    but now I am finding an issue is that each time when I write the data, the size of a memory where data is written is increasing.

    After writing data, record_Id of fds_record_desc_t, gets incremented.

    but gc_run_count remains zero only.

    do I have to remove all records, as I just want a single record only?

    regards

    shailesh

Children
Related