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

Bond and data storage

Hi, I bonded is ok .But I want to store some data on nrf51822 flash memory using pstorage. What should I do?

Register new or change it :

param.block_size  = ALL_CONTEXT_SIZE;
param.block_count = DEVICE_MANAGER_MAX_BONDS;
param.cb          = dm_pstorage_cb_handler;

err_code = pstorage_register(&param, &m_storage_handle);
Related