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... | |
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.
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.
advertiser_t nrf_mesh_prov_bearer_adv_t::advertiser |
Advertiser instance.
Definition at line 67 of file nrf_mesh_prov_bearer_adv.h.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.