The configuration server model implements the server side of the configuration model. More...
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_cb An event callback function pointer.
- Return values
-
NRF_SUCCESS The 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_handle Device key handle.
- Return values
-
NRF_SUCCESS Successfully bound device key to configuration server. NRF_ERROR_NOT_FOUND Configuration model not initialized. NRF_ERROR_INVALID_PARAM Invalid device key handle.