nRF5 SDK for Mesh v2.1.1
Modules | Macros
Access layer configuration

Access layer resource usage configuration. More...

Modules

 Access reliable messages configuration
 Configuration of the application specific parameters of the access layer reliable messages.
 

Macros

#define ACCESS_DEFAULT_TTL   (4)
 The default TTL value for the node.
 
#define ACCESS_MODEL_COUNT   (1)
 The number of models in the application. More...
 
#define ACCESS_ELEMENT_COUNT   (2)
 The number of elements in the application. More...
 
#define ACCESS_SUBSCRIPTION_LIST_COUNT   (ACCESS_MODEL_COUNT)
 The number of allocated subscription lists for the application. More...
 
#define ACCESS_FLASH_PAGE_COUNT   (1)
 The number of pages of flash storage reserved for the access layer for persistent data storage.
 

Detailed Description

Access layer resource usage configuration.

Macro Definition Documentation

◆ ACCESS_MODEL_COUNT

#define ACCESS_MODEL_COUNT   (1)

The number of models in the application.

Note
This value has to be greater than one to fit the configuration model plus the number of models needed by the application.

Definition at line 89 of file nrf_mesh_config_app.h.

◆ ACCESS_ELEMENT_COUNT

#define ACCESS_ELEMENT_COUNT   (2)

The number of elements in the application.

Note
This value has to be greater than two to fit the configuration and health models, plus the number of models needed by the application.
Warning
If the application is to support multiple instances of the same model, they cannot belong in the same element and a separate element is needed for the new instance.

Definition at line 100 of file nrf_mesh_config_app.h.

◆ ACCESS_SUBSCRIPTION_LIST_COUNT

#define ACCESS_SUBSCRIPTION_LIST_COUNT   (ACCESS_MODEL_COUNT)

The number of allocated subscription lists for the application.

Note
The application should set this number to ACCESS_MODEL_COUNT minus the number of models operating on shared states.

Definition at line 108 of file nrf_mesh_config_app.h.


Documentation feedback | Developer Zone | Subscribe | Updated