Zephyr API 3.6.99
Loading...
Searching...
No Matches
rpr.h File Reference

Go to the source code of this file.

Data Structures

struct  bt_mesh_rpr_node
 Remote provisioning actor, as seen across the mesh. More...
 
struct  bt_mesh_rpr_unprov
 Unprovisioned device. More...
 
struct  bt_mesh_rpr_link
 Remote Provisioning Link status. More...
 

Macros

#define BT_MESH_RPR_UNPROV_HASH   BIT(0)
 Unprovisioned device has URI hash value.
 
#define BT_MESH_RPR_UNPROV_ACTIVE   BIT(1)
 Internal.
 
#define BT_MESH_RPR_UNPROV_FOUND   BIT(2)
 Internal.
 
#define BT_MESH_RPR_UNPROV_REPORTED   BIT(3)
 Internal.
 
#define BT_MESH_RPR_UNPROV_EXT   BIT(4)
 Internal.
 
#define BT_MESH_RPR_UNPROV_HAS_LINK   BIT(5)
 Internal.
 
#define BT_MESH_RPR_UNPROV_EXT_ADV_RXD   BIT(6)
 Internal.
 
#define BT_MESH_RPR_EXT_SCAN_TIME_MIN   1
 Minimum extended scan duration in seconds.
 
#define BT_MESH_RPR_EXT_SCAN_TIME_MAX   21
 Maximum extended scan duration in seconds.
 

Enumerations

enum  bt_mesh_rpr_status {
  BT_MESH_RPR_SUCCESS , BT_MESH_RPR_ERR_SCANNING_CANNOT_START , BT_MESH_RPR_ERR_INVALID_STATE , BT_MESH_RPR_ERR_LIMITED_RESOURCES ,
  BT_MESH_RPR_ERR_LINK_CANNOT_OPEN , BT_MESH_RPR_ERR_LINK_OPEN_FAILED , BT_MESH_RPR_ERR_LINK_CLOSED_BY_DEVICE , BT_MESH_RPR_ERR_LINK_CLOSED_BY_SERVER ,
  BT_MESH_RPR_ERR_LINK_CLOSED_BY_CLIENT , BT_MESH_RPR_ERR_LINK_CLOSED_AS_CANNOT_RECEIVE_PDU , BT_MESH_RPR_ERR_LINK_CLOSED_AS_CANNOT_SEND_PDU , BT_MESH_RPR_ERR_LINK_CLOSED_AS_CANNOT_DELIVER_PDU_REPORT
}
 
enum  bt_mesh_rpr_scan { BT_MESH_RPR_SCAN_IDLE , BT_MESH_RPR_SCAN_MULTI , BT_MESH_RPR_SCAN_SINGLE }
 
enum  bt_mesh_rpr_node_refresh { BT_MESH_RPR_NODE_REFRESH_DEVKEY , BT_MESH_RPR_NODE_REFRESH_ADDR , BT_MESH_RPR_NODE_REFRESH_COMPOSITION }
 
enum  bt_mesh_rpr_link_state {
  BT_MESH_RPR_LINK_IDLE , BT_MESH_RPR_LINK_OPENING , BT_MESH_RPR_LINK_ACTIVE , BT_MESH_RPR_LINK_SENDING ,
  BT_MESH_RPR_LINK_CLOSING
}