Represents the parameters for configuring advertisements. More...
#include <peripheral2.h>
Public Attributes | |
AdvertisingData | data |
AdvertisingIntervalRange | interval_range |
See AdvertisingIntervalRange documentation. | |
std::optional< Address::Type > | address_type |
AdvertisingProcedure | procedure |
Represents the parameters for configuring advertisements.
std::optional<Address::Type> pw::bluetooth::low_energy::Peripheral2::AdvertisingParameters::address_type |
The type of address to include in advertising packets. If null, the host stack will select an address type. If the address type could not be used (either because of controller error or host configuration), a kFailed
error wil be returned.
AdvertisingData pw::bluetooth::low_energy::Peripheral2::AdvertisingParameters::data |
The fields that will be encoded in the data section of advertising packets.
AdvertisingProcedure pw::bluetooth::low_energy::Peripheral2::AdvertisingParameters::procedure |
Specifies the advertising procedure to use and the parameters specific to that procedure.