How to store larger data using flash manager in nrf5 mesh sdk

Hi, I have implemented the following and succeeded storing and retrieving values from flash

Mesh 4.0 SDK Flash Manager - Storing values - Nordic Q&A - Nordic DevZone - Nordic DevZone (nordicsemi.com)

In this application the mesh uses (0x000F8000 - 0X000FE000) for its mesh_initialization 

and the page i used here is 0x000FF000(flash_manager_recovery_page_get()) to store my data

and then i also tried the pages before F8 , that were also successful.

Now my question is,whether the below default config values can be changed or not??

/** Maximum number of pages that can be owned by a single flash manager */
#ifndef FLASH_MANAGER_PAGE_COUNT_MAX
#define FLASH_MANAGER_PAGE_COUNT_MAX 255
#endif

/** Size of the flash manager data pool, storing pending writes. */
#ifndef FLASH_MANAGER_POOL_SIZE
#define FLASH_MANAGER_POOL_SIZE 256
#endif

/** Maximum size of a single flash entry in bytes. */
#ifndef FLASH_MANAGER_ENTRY_MAX_SIZE
#define FLASH_MANAGER_ENTRY_MAX_SIZE 128
#endif

for eg. i have tried changing the max entry size to 256 and it seems to be kind of working, and i just wanted to confirm it.

Thanks

Parents Reply
  • I am very sorry Vinesh. There was a misunderstanding on my part. The DFU feature for Mesh project on NCS deploy DFU over BLE, not Mesh.

    However, that is still our recommended solution at the moment.

    Could you share a bit about your project timeline so we can best suggest you an option? If that is not possible to do it publicly, we can also make this ticket private.

Children
No Data
Related