Pigweed
 
Loading...
Searching...
No Matches
pw::bluetooth::low_energy::Peripheral2::AdvertisingParameters Struct Reference

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
 

Detailed Description

Represents the parameters for configuring advertisements.

Member Data Documentation

◆ address_type

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.

◆ data

AdvertisingData pw::bluetooth::low_energy::Peripheral2::AdvertisingParameters::data

The fields that will be encoded in the data section of advertising packets.

◆ procedure

AdvertisingProcedure pw::bluetooth::low_energy::Peripheral2::AdvertisingParameters::procedure

Specifies the advertising procedure to use and the parameters specific to that procedure.


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