nRF5 SDK for Mesh v5.0.0
Public Member Functions | Data Fields
nrf_mesh_prov_bearer_adv_t Struct Reference

PB-ADV context structure. More...

#include <nrf_mesh_prov_bearer_adv.h>

Public Member Functions

uint8_t tx_buffer [NRF_MESH_PROV_BEARER_ADV_TX_BUFFER_SIZE__attribute__ ((aligned(WORD_SIZE)))
 Buffer for outgoing packets. More...
 

Data Fields

advertiser_t advertiser
 Advertiser instance. More...
 
uint32_t link_id
 PB-ADV link identifier. More...
 
prov_bearer_adv_instance_t instance_state
 State identifier for the struct instance. More...
 
prov_bearer_adv_state_t state
 State identifier for the PB-ADV state machine. More...
 
uint8_t transaction_in
 Transaction number for the incoming messages. More...
 
uint8_t transaction_out
 Transaction number for the outgoing messages. More...
 
nrf_mesh_prov_link_close_reason_t close_reason
 Reason for closing the link. More...
 
timer_event_t timeout_event
 State structure for the timeout timer. More...
 
timer_event_t link_timeout_event
 State structure for the link timeout timer. More...
 
uint32_t sar_timeout
 SAR timeout value. More...
 
uint32_t link_timeout
 Link timeout value. More...
 
prov_bearer_adv_buffer_t buffer
 Buffer structure for ongoing transfer. More...
 
nrf_mesh_tx_token_t last_token
 Token of the last packet sent to the advertiser. More...
 
bool queue_empty_pending
 Flag indicating whether a queue empty event is pending. More...
 
prov_bearer_t prov_bearer
 
struct prov_bearer_adv * p_next
 Pointer to the next active PB-ADV link. More...
 

Detailed Description

PB-ADV context structure.

All fields are set and maintained internally. The user should simply allocate the structure such that it is retained for the duration of the provisioning procedure.

Definition at line 65 of file nrf_mesh_prov_bearer_adv.h.

Member Function Documentation

◆ __attribute__()

uint8_t tx_buffer [NRF_MESH_PROV_BEARER_ADV_TX_BUFFER_SIZE] nrf_mesh_prov_bearer_adv_t::__attribute__ ( (aligned(WORD_SIZE))  )

Buffer for outgoing packets.

Field Documentation

◆ advertiser

advertiser_t nrf_mesh_prov_bearer_adv_t::advertiser

Advertiser instance.

Definition at line 67 of file nrf_mesh_prov_bearer_adv.h.

◆ link_id

uint32_t nrf_mesh_prov_bearer_adv_t::link_id

PB-ADV link identifier.

Definition at line 68 of file nrf_mesh_prov_bearer_adv.h.

◆ instance_state

prov_bearer_adv_instance_t nrf_mesh_prov_bearer_adv_t::instance_state

State identifier for the struct instance.

Definition at line 69 of file nrf_mesh_prov_bearer_adv.h.

◆ state

prov_bearer_adv_state_t nrf_mesh_prov_bearer_adv_t::state

State identifier for the PB-ADV state machine.

Definition at line 70 of file nrf_mesh_prov_bearer_adv.h.

◆ transaction_in

uint8_t nrf_mesh_prov_bearer_adv_t::transaction_in

Transaction number for the incoming messages.

Definition at line 71 of file nrf_mesh_prov_bearer_adv.h.

◆ transaction_out

uint8_t nrf_mesh_prov_bearer_adv_t::transaction_out

Transaction number for the outgoing messages.

Definition at line 72 of file nrf_mesh_prov_bearer_adv.h.

◆ close_reason

nrf_mesh_prov_link_close_reason_t nrf_mesh_prov_bearer_adv_t::close_reason

Reason for closing the link.

Definition at line 73 of file nrf_mesh_prov_bearer_adv.h.

◆ timeout_event

timer_event_t nrf_mesh_prov_bearer_adv_t::timeout_event

State structure for the timeout timer.

Definition at line 74 of file nrf_mesh_prov_bearer_adv.h.

◆ link_timeout_event

timer_event_t nrf_mesh_prov_bearer_adv_t::link_timeout_event

State structure for the link timeout timer.

Definition at line 75 of file nrf_mesh_prov_bearer_adv.h.

◆ sar_timeout

uint32_t nrf_mesh_prov_bearer_adv_t::sar_timeout

SAR timeout value.

Definition at line 76 of file nrf_mesh_prov_bearer_adv.h.

◆ link_timeout

uint32_t nrf_mesh_prov_bearer_adv_t::link_timeout

Link timeout value.

Definition at line 77 of file nrf_mesh_prov_bearer_adv.h.

◆ buffer

prov_bearer_adv_buffer_t nrf_mesh_prov_bearer_adv_t::buffer

Buffer structure for ongoing transfer.

Definition at line 78 of file nrf_mesh_prov_bearer_adv.h.

◆ last_token

nrf_mesh_tx_token_t nrf_mesh_prov_bearer_adv_t::last_token

Token of the last packet sent to the advertiser.

Definition at line 80 of file nrf_mesh_prov_bearer_adv.h.

◆ queue_empty_pending

bool nrf_mesh_prov_bearer_adv_t::queue_empty_pending

Flag indicating whether a queue empty event is pending.

Definition at line 81 of file nrf_mesh_prov_bearer_adv.h.

◆ p_next

struct prov_bearer_adv* nrf_mesh_prov_bearer_adv_t::p_next

Pointer to the next active PB-ADV link.

Definition at line 83 of file nrf_mesh_prov_bearer_adv.h.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated