nRF5 SDK for Mesh v5.0.0
Modules | Data Structures | Macros | Enumerations

Bearer abstraction layer for provisioning. More...

Modules

 Provisioning bearer interface
 Defines the generic (downstream) interface any provisioning bearer should expose.
 
 Provisioning bearer callbacks
 Defines the (upstream) interface a higher layer provisioning structure should implement.
 
 Provisioning over Advertising Bearer (PB-ADV)
 This module provides support for the provisioning over advertising (PB-ADV) provisioning bearer.
 
 Provisioning over GATT Bearer (PB-GATT)
 This module provides support for provisioning over GATT.
 

Data Structures

struct  prov_bearer_t
 Provisioning bearer context. More...
 

Macros

#define NRF_MESH_PROV_BEARER_COUNT   (3)
 Number of supported bearers. More...
 

Enumerations

enum  nrf_mesh_prov_link_close_reason_t { NRF_MESH_PROV_LINK_CLOSE_REASON_SUCCESS = 0, NRF_MESH_PROV_LINK_CLOSE_REASON_TIMEOUT = 1, NRF_MESH_PROV_LINK_CLOSE_REASON_ERROR = 2, NRF_MESH_PROV_LINK_CLOSE_REASON_LAST = NRF_MESH_PROV_LINK_CLOSE_REASON_ERROR }
 Reason for why a provisioning link was closed. More...
 
enum  nrf_mesh_prov_bearer_type_t { NRF_MESH_PROV_BEARER_ADV = 0x01, NRF_MESH_PROV_BEARER_GATT = 0x02, NRF_MESH_PROV_BEARER_MESH = 0x04 }
 Provisioning bearer types. More...
 

Detailed Description

Bearer abstraction layer for provisioning.

The provisioning bearer layer enables the provisioning procedures to be independent on which bearer is actually used.

Macro Definition Documentation

◆ NRF_MESH_PROV_BEARER_COUNT

#define NRF_MESH_PROV_BEARER_COUNT   (3)

Number of supported bearers.

Definition at line 207 of file nrf_mesh_prov_bearer.h.

Enumeration Type Documentation

◆ nrf_mesh_prov_link_close_reason_t

Reason for why a provisioning link was closed.

Enumerator
NRF_MESH_PROV_LINK_CLOSE_REASON_SUCCESS 

The link was closed because provisioning was completed successfully.

NRF_MESH_PROV_LINK_CLOSE_REASON_TIMEOUT 

The link timed out and was closed.

NRF_MESH_PROV_LINK_CLOSE_REASON_ERROR 

The link was closed beacuse of an error.

NRF_MESH_PROV_LINK_CLOSE_REASON_LAST 

The highest known link close reason, values higher are unrecognized.

Definition at line 57 of file nrf_mesh_prov_bearer.h.

◆ nrf_mesh_prov_bearer_type_t

Provisioning bearer types.

Enumerator
NRF_MESH_PROV_BEARER_ADV 

Advertising-based provisioning bearer, PB-ADV.

NRF_MESH_PROV_BEARER_GATT 

GATT-based provisioning bearer, PB-GATT.

NRF_MESH_PROV_BEARER_MESH 

Mesh-based provisioning bearer.

Definition at line 212 of file nrf_mesh_prov_bearer.h.


Documentation feedback | Developer Zone | Subscribe | Updated