nRF5 SDK for Mesh v5.0.0
Macros
Power down emergency cache configuration.

Macros

#define EMERGENCY_CACHE_RESERVED_PAGE_NUMBER   1
 Number of flash pages reserved for the emergency cache. More...
 

Detailed Description

Macro Definition Documentation

◆ EMERGENCY_CACHE_RESERVED_PAGE_NUMBER

#define EMERGENCY_CACHE_RESERVED_PAGE_NUMBER   1

Number of flash pages reserved for the emergency cache.

Note
Since the emergency cache is created dynamically stack does not have a predefined list of the entry descriptors. The emergency cache requires preliminary allocated flash memory to store data. The size of the cache depends on potentially not stored data in a single moment of time. Generally, one page is sufficient size. If more than 4k unsaved data are expected at the one time please allocate more than 1 page for the emergency cache. However, it is important to understand a large number of not stored data at the moment of power-down causes the growing time required to go in power off.

For details, see the power-down documentation.

Definition at line 439 of file nrf_mesh_config_core.h.


Documentation feedback | Developer Zone | Subscribe | Updated