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

Pstorage and device manager

Hi everybody.

I am making an application using ANCS, I saw that the original ANCS application saves some data to flash memory via device manager module and the parameters module are: block_size = 92, block_count = 7.

In my extent application, I would like to save other data which is got from BLE to flash memory with different parameter(block size, block count) using pstorage. Could you please show me how to config for the memory to avoid conflict with data from device manager module ?

Thank you very much!!!

Parents Reply
  • Hi Minh,

    It has been discussed in the documentation here.

    If you have data you want to store, you first have to register the "Application Module". With that module you can define number of block and number of byte per block. The pstorage module will automatically allocated a (or multiple) pages in flash for you and it's not overlapping the area occupied by other Module (for example the device manager module).

Children
No Data
Related