bt_mesh_provision() function
Provision the local Mesh Node. This API should normally not be used directly by the application. The only exception is for testing purposes where manual provisioning is desired without an actual external provisioner.
Arguments
addr
Primary element address
Return value
Zero on success or (negative) error code otherwise.