nRF5 SDK for Mesh v3.2.0  08c60f6

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. A bearer uses this interface to notify its parent about events and incoming data.
 
 Provisioning over Advertising Bearer (PB-ADV)
 
 Provisioning over GATT Bearer (PB-GATT) (experimental)
 

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...
 

Variables

prov_bearer_if_tx_t prov_bearer_interface_t::tx
 Function for transmitting packets.
 
prov_bearer_if_listen_start_t prov_bearer_interface_t::listen_start
 Function to start listening for incoming provisioning links.
 
prov_bearer_if_listen_stop_t prov_bearer_interface_t::listen_stop
 Function to stop listening for incoming provisioning links.
 
prov_bearer_if_link_open_t prov_bearer_interface_t::link_open
 Function for opening a provisioning link.
 
prov_bearer_if_link_close_t prov_bearer_interface_t::link_close
 Function for closing a provisioning link.
 
prov_bearer_cb_rx_t prov_bearer_callbacks_t::rx
 The callback function for passing up all the incoming packets except the control packets.
 
prov_bearer_cb_ack_t prov_bearer_callbacks_t::ack
 The callback function for passing up all the incoming acknowledgments.
 
prov_bearer_cb_link_opened_t prov_bearer_callbacks_t::opened
 The callback function for notifying the users that a link has been opened.
 
prov_bearer_cb_link_closed_t prov_bearer_callbacks_t::closed
 The callback function for notifying the users that a link has been closed.
 
list_node_t prov_bearer_t::node
 Linked-list node parameter.
 
nrf_mesh_prov_bearer_type_t prov_bearer_t::bearer_type
 Bearer type.
 
const prov_bearer_interface_tprov_bearer_t::p_interface
 Provisioning bearer interface.
 
const prov_bearer_callbacks_tprov_bearer_t::p_callbacks
 Provisioning bearer callbacks.
 
void * prov_bearer_t::p_parent
 Pointer to the parent context structure.
 

Detailed Description

Bearer abstraction layer for provisioning.

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

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.