Mesh examples support module for starting the provisioning process for a device in the provisionee role using PB-ADV and static OOB authentication. More...
Data Structures | |
struct | mesh_provisionee_start_params_t |
Mesh stack configuration parameters. More... | |
Typedefs | |
typedef void(* | mesh_provisionee_prov_sd_ble_opt_set_cb_t) (void) |
Set BLE stack option callback type. More... | |
typedef void(* | mesh_provisionee_prov_complete_cb_t) (void) |
Provisioning complete callback type. More... | |
typedef void(* | mesh_provisionee_prov_device_identification_start) (uint8_t attention_duration_s) |
Start device identification callback type. More... | |
typedef void(* | mesh_provisionee_prov_device_identification_stop) (void) |
Stop device identification callback type. More... | |
typedef void(* | mesh_provisionee_prov_abort) (void) |
Provisioning abort callback type. More... | |
Functions | |
uint32_t | mesh_provisionee_prov_start (const mesh_provisionee_start_params_t *p_start_params) |
Start the provisioning process for a device in the provisionee role using static OOB authentication. More... | |
uint32_t | mesh_provisionee_prov_listen_stop (void) |
Stops listening for incoming provisioning links. More... | |
Mesh examples support module for starting the provisioning process for a device in the provisionee role using PB-ADV and static OOB authentication.
typedef void(* mesh_provisionee_prov_sd_ble_opt_set_cb_t) (void) |
Set BLE stack option callback type.
This callback is called to indicate that BLE stack was restarted and any BLE option can be set at this point through sd_ble_opt_set function.
Definition at line 58 of file mesh_provisionee.h.
typedef void(* mesh_provisionee_prov_complete_cb_t) (void) |
Provisioning complete callback type.
This callback is called to indicate that the device has been successfully provisioned.
Definition at line 65 of file mesh_provisionee.h.
typedef void(* mesh_provisionee_prov_device_identification_start) (uint8_t attention_duration_s) |
Start device identification callback type.
This callback is called to indicate that the device can start identifying itself using any means it can to attract attention.
[in] | attention_duration_s | Time in seconds during which the device identifies itself using any means it can. |
Definition at line 79 of file mesh_provisionee.h.
typedef void(* mesh_provisionee_prov_device_identification_stop) (void) |
Stop device identification callback type.
This callback is called to indicate that the device should stop identifying itself.
Definition at line 88 of file mesh_provisionee.h.
typedef void(* mesh_provisionee_prov_abort) (void) |
Provisioning abort callback type.
This callback is called if the provisioning process is aborted.
Definition at line 98 of file mesh_provisionee.h.
uint32_t mesh_provisionee_prov_start | ( | const mesh_provisionee_start_params_t * | p_start_params | ) |
Start the provisioning process for a device in the provisionee role using static OOB authentication.
[in] | p_start_params | Pointer to structure containing parameters related to the provisioning procedure. |
NRF_ERROR_INVALID_STATE | The provisioning module is not in idle state. |
NRF_ERROR_INVALID_PARAM | The p_static_data parameter is NULL. |
NRF_SUCCESS | The provisioning was started successfully. |
uint32_t mesh_provisionee_prov_listen_stop | ( | void | ) |
Stops listening for incoming provisioning links.
NRF_ERROR_INVALID_STATE | The provisionee is not currently listening. |
NRF_SUCCESS | Successfully stopped listening. |