Zephyr API 3.6.99
Loading...
Searching...
No Matches
Remote Provisioning models

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
}
 

Detailed Description

Macro Definition Documentation

◆ BT_MESH_RPR_EXT_SCAN_TIME_MAX

#define BT_MESH_RPR_EXT_SCAN_TIME_MAX   21

#include <zephyr/bluetooth/mesh/rpr.h>

Maximum extended scan duration in seconds.

◆ BT_MESH_RPR_EXT_SCAN_TIME_MIN

#define BT_MESH_RPR_EXT_SCAN_TIME_MIN   1

#include <zephyr/bluetooth/mesh/rpr.h>

Minimum extended scan duration in seconds.

◆ BT_MESH_RPR_UNPROV_ACTIVE

#define BT_MESH_RPR_UNPROV_ACTIVE   BIT(1)

#include <zephyr/bluetooth/mesh/rpr.h>

Internal.

◆ BT_MESH_RPR_UNPROV_EXT

#define BT_MESH_RPR_UNPROV_EXT   BIT(4)

#include <zephyr/bluetooth/mesh/rpr.h>

Internal.

◆ BT_MESH_RPR_UNPROV_EXT_ADV_RXD

#define BT_MESH_RPR_UNPROV_EXT_ADV_RXD   BIT(6)

#include <zephyr/bluetooth/mesh/rpr.h>

Internal.

◆ BT_MESH_RPR_UNPROV_FOUND

#define BT_MESH_RPR_UNPROV_FOUND   BIT(2)

#include <zephyr/bluetooth/mesh/rpr.h>

Internal.

◆ BT_MESH_RPR_UNPROV_HAS_LINK

#define BT_MESH_RPR_UNPROV_HAS_LINK   BIT(5)

#include <zephyr/bluetooth/mesh/rpr.h>

Internal.

◆ BT_MESH_RPR_UNPROV_HASH

#define BT_MESH_RPR_UNPROV_HASH   BIT(0)

#include <zephyr/bluetooth/mesh/rpr.h>

Unprovisioned device has URI hash value.

◆ BT_MESH_RPR_UNPROV_REPORTED

#define BT_MESH_RPR_UNPROV_REPORTED   BIT(3)

#include <zephyr/bluetooth/mesh/rpr.h>

Internal.

Enumeration Type Documentation

◆ bt_mesh_rpr_link_state

#include <zephyr/bluetooth/mesh/rpr.h>

Enumerator
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 

◆ bt_mesh_rpr_node_refresh

#include <zephyr/bluetooth/mesh/rpr.h>

Enumerator
BT_MESH_RPR_NODE_REFRESH_DEVKEY 

Change the Device key.

BT_MESH_RPR_NODE_REFRESH_ADDR 

Change the Device key and address.

Device composition may change.

BT_MESH_RPR_NODE_REFRESH_COMPOSITION 

Change the Device key and composition.

◆ bt_mesh_rpr_scan

#include <zephyr/bluetooth/mesh/rpr.h>

Enumerator
BT_MESH_RPR_SCAN_IDLE 
BT_MESH_RPR_SCAN_MULTI 
BT_MESH_RPR_SCAN_SINGLE 

◆ bt_mesh_rpr_status

#include <zephyr/bluetooth/mesh/rpr.h>

Enumerator
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