Single advertiser instance. More...
#include <advertiser.h>
Data Fields | |
| bool | enabled |
| Flag indicating whether the event is enabled. More... | |
| adv_packet_t * | p_packet |
| Pointer to the current packet, only for internal use. More... | |
| broadcast_t | broadcast |
| Broadcast module, used as a context to send a single advertisement. More... | |
| timer_event_t | timer |
| Timer event used to set up periodic advertisements. More... | |
| packet_buffer_t | buf |
| Packet buffer for outgoing packets. More... | |
| advertiser_config_t | config |
| Advertiser configuration. More... | |
| advertiser_tx_complete_cb_t | tx_complete_callback |
| TX complete callback to call at the end of a completed transmission. More... | |
| bearer_event_sequential_t | tx_complete_event |
| Bearer event for executing the TX_COMPLETE event outside the radio interrupt. More... | |
| advertiser_tx_complete_params_t | tx_complete_params |
| Parameters of the TX_COMPLETE event. More... | |
Detailed Description
Single advertiser instance.
Forward declaration of advertiser_t structure.
Definition at line 126 of file advertiser.h.
Field Documentation
◆ enabled
| bool advertiser_t::enabled |
Flag indicating whether the event is enabled.
Definition at line 128 of file advertiser.h.
Referenced by advertiser_is_enabled().
◆ p_packet
| adv_packet_t* advertiser_t::p_packet |
Pointer to the current packet, only for internal use.
Definition at line 129 of file advertiser.h.
◆ broadcast
| broadcast_t advertiser_t::broadcast |
Broadcast module, used as a context to send a single advertisement.
Definition at line 130 of file advertiser.h.
Referenced by advertiser_tx_power_get().
◆ timer
| timer_event_t advertiser_t::timer |
Timer event used to set up periodic advertisements.
Definition at line 131 of file advertiser.h.
◆ buf
| packet_buffer_t advertiser_t::buf |
Packet buffer for outgoing packets.
Definition at line 132 of file advertiser.h.
◆ config
| advertiser_config_t advertiser_t::config |
Advertiser configuration.
Definition at line 133 of file advertiser.h.
Referenced by advertiser_address_get(), and advertiser_interval_get().
◆ tx_complete_callback
| advertiser_tx_complete_cb_t advertiser_t::tx_complete_callback |
TX complete callback to call at the end of a completed transmission.
Definition at line 134 of file advertiser.h.
◆ tx_complete_event
| bearer_event_sequential_t advertiser_t::tx_complete_event |
Bearer event for executing the TX_COMPLETE event outside the radio interrupt.
Definition at line 135 of file advertiser.h.
◆ tx_complete_params
| advertiser_tx_complete_params_t advertiser_t::tx_complete_params |
Parameters of the TX_COMPLETE event.
Definition at line 136 of file advertiser.h.
- mesh/bearer/api/advertiser.h