Mesh stack configuration parameters. More...
#include <mesh_stack.h>
Data Fields | |
nrf_mesh_init_params_t | core |
Core initialization parameters structure. | |
struct { | |
config_server_evt_cb_t config_server_cb | |
Pointer to a function used to inform about events from the configuration server. More... | |
health_server_attention_cb_t health_server_attention_cb | |
Attention callback function. More... | |
const health_server_selftest_t * p_health_server_selftest_array | |
Self-test function array. More... | |
uint8_t health_server_num_selftests | |
Number of self-tests provided by p_health_server_selftest_array . | |
mesh_stack_models_init_cb_t models_init_cb | |
Pointer to a function used to allow initialization of application-specific models. More... | |
} | models |
Mesh stack configuration parameters.
Some fields are optional; the description of the specific fields notes if the value of a field can be omitted. In this case, the value of the field should be set to 0 (NULL
for pointer values).
Definition at line 70 of file mesh_stack.h.
config_server_evt_cb_t mesh_stack_init_params_t::config_server_cb |
Pointer to a function used to inform about events from the configuration server.
Can be set to NULL
if not used.
Definition at line 88 of file mesh_stack.h.
health_server_attention_cb_t mesh_stack_init_params_t::health_server_attention_cb |
Attention callback function.
This callback is called when the device should enable or disable the attention state. When the attention state is enabled, the device should make itself noticeable, by, for example, blinking an LED, vibrating or making sounds. If set to NULL
, the attention state will be considered to be unsupported by the device.
Definition at line 97 of file mesh_stack.h.
const health_server_selftest_t* mesh_stack_init_params_t::p_health_server_selftest_array |
Self-test function array.
Devices can provide a list of self-test functions that can be run by applications providing a health client. This is useful if the device has functionality that provides support for testing and status reporting. If set to NULL
, the self-test functionality will be considered to be unsupported by the device.
Definition at line 109 of file mesh_stack.h.
mesh_stack_models_init_cb_t mesh_stack_init_params_t::models_init_cb |
Pointer to a function used to allow initialization of application-specific models.
Any models used by the application should be initialized in this callback function, which ensure that these models are available immediately after the device has been provisioned. Can be set to NULL
if not used.
Definition at line 122 of file mesh_stack.h.