bt_mesh_provisioner_add_unprov_dev() function
Add unprovisioned device info to unprov_dev queue
Arguments
add_dev
Pointer to the structure containing the device information
flags
Flags indicate several operations of the device information - Remove device information from queue after it is provisioned (BIT0) - Start provisioning as soon as device is added to queue (BIT1) - Device can be flushed when device queue is full (BIT2)
Return value
Zero on success or (negative) error code otherwise.
Notes
1. Currently address type only supports public address and static random address. 2. If device UUID and/or device address and address type already exist in the device queue, but the bearer differs from the existing one, add operation will also be successful and it will update the provision bearer supported by the device.
bt_mesh_provisioner_add_unprov_dev() is called by 1 function and calls 7 functions:
![]()
bt_mesh_provisioner_add_unprov_dev()
bt_mesh_provisioner_add_unprov_dev() reads 19 variables and writes 3 variables:
![]()
bt_mesh_provisioner_add_unprov_dev()