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
  • Hi Vignesh R,

    I would like to let you know that I have been assigned to help you with this. However, I need to double check with more engineers on this topic before answering you.

    I will follow up with you latest by the end of Thu Dec 15.

    Meanwhile, could you please describe your use case which necessitate the adjustments of those configurations?

    Hieu

Reply
  • Hi Vignesh R,

    I would like to let you know that I have been assigned to help you with this. However, I need to double check with more engineers on this topic before answering you.

    I will follow up with you latest by the end of Thu Dec 15.

    Meanwhile, could you please describe your use case which necessitate the adjustments of those configurations?

    Hieu

Children
Related