Defines the (upstream) interface a higher layer provisioning structure should implement. More...
Data Structures | |
struct | prov_bearer_callbacks_t |
Struct defining the bearer callback functions. More... | |
Typedefs | |
typedef void(* | prov_bearer_cb_rx_t) (prov_bearer_t *p_bearer, const uint8_t *p_data, uint16_t length) |
Callback function type used when a provisioning packet has been received. More... | |
typedef void(* | prov_bearer_cb_ack_t) (prov_bearer_t *p_bearer) |
Callback function type used when the previous provisioning packet has been acknowledged. More... | |
typedef void(* | prov_bearer_cb_link_opened_t) (prov_bearer_t *p_bearer) |
Callback function type used when a provisioning link has been opened. More... | |
typedef void(* | prov_bearer_cb_link_closed_t) (prov_bearer_t *p_bearer, nrf_mesh_prov_link_close_reason_t reason) |
Callback function type used when a provisioning link has been closed. More... | |
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.
typedef void(* prov_bearer_cb_rx_t) (prov_bearer_t *p_bearer, const uint8_t *p_data, uint16_t length) |
Callback function type used when a provisioning packet has been received.
[in,out] | p_bearer | Pointer to the bearer context structure. |
[in] | p_data | Pointer to the received packet data. |
[in] | length | Length of the received packet data. |
Definition at line 162 of file nrf_mesh_prov_bearer.h.
typedef void(* prov_bearer_cb_ack_t) (prov_bearer_t *p_bearer) |
Callback function type used when the previous provisioning packet has been acknowledged.
[in,out] | p_bearer | Pointer to the bearer context structure. |
Definition at line 171 of file nrf_mesh_prov_bearer.h.
typedef void(* prov_bearer_cb_link_opened_t) (prov_bearer_t *p_bearer) |
Callback function type used when a provisioning link has been opened.
[in,out] | p_bearer | Pointer to the bearer context structure. |
Definition at line 178 of file nrf_mesh_prov_bearer.h.
typedef void(* prov_bearer_cb_link_closed_t) (prov_bearer_t *p_bearer, nrf_mesh_prov_link_close_reason_t reason) |
Callback function type used when a provisioning link has been closed.
[in,out] | p_bearer | Pointer to the bearer context structure. |
[in] | reason | Reason for why the provisioning link was closed. |
Definition at line 186 of file nrf_mesh_prov_bearer.h.