38 #ifndef NRF_MESH_NODE_CONFIG_H__ 39 #define NRF_MESH_NODE_CONFIG_H__ 47 #include "nrf_mesh_defines.h" 48 #include "nrf_mesh_prov.h" 50 #include "config_server_events.h" 51 #include "health_server.h" 70 #define nrf_fault_handler_t softdevice_assertion_handler_t 71 #define nrf_clock_lf_cfg_t nrf_clock_lfclksrc_t nrf_mesh_prov_oob_caps_t prov_caps
Device capabilities for OOB authentication.
Node configuration parameters.
void * p_data
Data pointer to pass to the callback functions.
health_server_attention_cb_t attention_cb
Attention callback function.
nrf_clock_lf_cfg_t lf_clk_cfg
Low frequency clock configuration.
uint8_t irq_priority
Application IRQ priority.
config_server_evt_cb_t config_server_callback
Pointer to a function used to inform about events from the configuration server.
nrf_mesh_node_config_complete_cb_t complete_callback
Pointer to a function used to signal the completion of the node configuration procedure.
nrf_mesh_assertion_handler_t mesh_assertion_handler
Handler for mesh assertions.
nrf_fault_handler_t sd_assertion_handler
Handler for SoftDevice assertions.
void(* nrf_mesh_node_config_setup_cb_t)(void *p_data)
Setup callback.
void nrf_mesh_node_config_clear(void)
Clears the saved configuration and network state of the mesh node.
void(* config_server_evt_cb_t)(const config_server_evt_t *p_evt)
Config server event callback type.
Provisioning authentication capabilities.
uint16_t oob_info_sources
Device OOB information sources.
void(* nrf_mesh_node_config_complete_cb_t)(void *p_data)
Configuration complete callback.
void(* health_server_attention_cb_t)(const health_server_t *p_server, bool attention_state)
Callback function for the attention state.
void(* nrf_mesh_assertion_handler_t)(uint32_t pc)
Mesh assertion handler type.
nrf_mesh_node_config_setup_cb_t setup_callback
Pointer to a function used to allow initialization of application-specific models.
const uint8_t * p_static_data
Data used for OOB authentication when the static authentication method is used.
uint8_t num_selftests
Number of self-tests provided by p_selftest_array.
const char * p_device_uri
NULL-terminated device URI string.
uint32_t nrf_mesh_node_config(const nrf_mesh_node_config_params_t *p_params)
Configures the mesh node.
Structure defining a self-test function.
const health_server_selftest_t * p_selftest_array
Self-test function array.