nRF5 SDK for Mesh v3.2.0  08c60f6

Modules

 Configuration Server application events
 

Functions

uint32_t config_server_init (config_server_evt_cb_t evt_cb)
 Initializes the configuration server model and registers it in the access layer. More...
 
uint32_t config_server_bind (dsm_handle_t devkey_handle)
 Binds the configuration server to a given device key. More...
 

Detailed Description

The configuration server model implements the server side of the configuration model. This model is required to be present in Bluetooth mesh nodes and provides functionality that allows a provisioner to configure a node after it has been provisioned.

Function Documentation

◆ config_server_init()

uint32_t config_server_init ( config_server_evt_cb_t  evt_cb)

Initializes the configuration server model and registers it in the access layer.

Parameters
[in]evt_cbAn event callback function pointer.
Return values
NRF_SUCCESSThe configuration server model was successfully initialized and registered in the access layer.

◆ config_server_bind()

uint32_t config_server_bind ( dsm_handle_t  devkey_handle)

Binds the configuration server to a given device key.

Parameters
[in]devkey_handleDevice key handle.
Return values
NRF_SUCCESSSuccessfully bound device key to configuration server.
NRF_ERROR_NOT_FOUNDConfiguration model not initialized.
NRF_ERROR_INVALID_PARAMInvalid device key handle.