nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches

◆ bt_mesh_dk_prov_init_with_static_oob()

const struct bt_mesh_prov * bt_mesh_dk_prov_init_with_static_oob ( const uint8_t * oob_val,
uint8_t oob_len )

#include <dk_prov.h>

Initialize the provisioning handler with a static OOB value.

Parameters
oob_valStatic OOB value, or NULL to disable static OOB. The pointer must remain valid for as long as the device may be provisioned.
oob_lenLength of the static OOB value, in bytes. Must be zero if oob_val is NULL, otherwise non-zero.
Returns
The provisioning properties to pass to bt_mesh_init(), or NULL on invalid parameters or if the provisioning handler has already been initialized.