38 #ifndef NRF_MESH_PROV_BEARER_ADV_H__ 39 #define NRF_MESH_PROV_BEARER_ADV_H__ 41 #include "prov_bearer_adv.h" 46 #include "nrf_mesh_config_prov.h" 47 #include "nrf_mesh_prov_bearer.h" 48 #include "advertiser.h" 49 #include "timer_scheduler.h" 65 typedef struct prov_bearer_adv
prov_bearer_adv_instance_t instance_state
State identifier for the struct instance.
timer_event_t link_timeout_event
State structure for the link timeout timer.
bool queue_empty_pending
Flag indicating whether a queue empty event is pending.
prov_bearer_adv_buffer_t buffer
Buffer structure for ongoing transfer.
nrf_mesh_tx_token_t last_token
Token of the last packet sent to the advertiser.
timer_event_t timeout_event
State structure for the timeout timer.
nrf_mesh_prov_link_close_reason_t
Reason for why a provisioning link was closed.
struct __attribute__((packed))
Provisioning data required by the remote provisioning client for command type SERIAL_PB_REMOTE_CLIENT...
PB-ADV context structure.
prov_bearer_t * nrf_mesh_prov_bearer_adv_interface_get(nrf_mesh_prov_bearer_adv_t *p_bearer_adv)
Gets the provisioning bearer interface for the PB-ADV bearer.
struct prov_bearer_adv * p_next
Pointer to the next active PB-ADV link.
advertiser_t advertiser
Advertiser instance.
#define NRF_MESH_PROV_BEARER_ADV_TX_BUFFER_SIZE
Size of the buffer for the outgoing packet buffer for PB-ADV.
uint32_t nrf_mesh_tx_token_t
TX Token type, used as a context parameter to notify the application of ended transmissions.
uint8_t transaction_out
Transaction number for the outgoing messages.
uint32_t link_timeout
Link timeout value.
nrf_mesh_prov_link_close_reason_t close_reason
Reason for closing the link.
Provisioning bearer context.
uint32_t sar_timeout
SAR timeout value.
Single advertiser instance.
uint32_t link_id
PB-ADV link identifier.
prov_bearer_adv_state_t state
State identifier for the PB-ADV state machine.
uint8_t transaction_in
Transaction number for the incoming messages.