class AdvertisingProcedure

Defined at line 8352 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

Public Members

static const fidl_type_t * FidlType

Public Methods

void AdvertisingProcedure ()
void ~AdvertisingProcedure ()
void AdvertisingProcedure (AdvertisingProcedure && )
AdvertisingProcedure & operator= (AdvertisingProcedure && )
AdvertisingProcedure WithLegacy (::fuchsia::bluetooth::le::Legacy && )
AdvertisingProcedure WithExtended (::fuchsia::bluetooth::le::Extended && )
::std::unique_ptr<AdvertisingProcedure> New ()
void Encode (::fidl::Encoder * encoder, size_t offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, AdvertisingProcedure * value, size_t offset)
zx_status_t Clone (AdvertisingProcedure * result)
bool has_invalid_tag ()

Defined at line 8380 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

bool is_legacy ()

Defined at line 8384 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

::fuchsia::bluetooth::le::Legacy & legacy ()

Advertise using legacy advertising packets. All devices should be able

to discover this type of packet.

Defined at line 8388 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

const ::fuchsia::bluetooth::le::Legacy & legacy ()

Advertise using legacy advertising packets. All devices should be able

to discover this type of packet.

Defined at line 8395 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

bool is_extended ()

Defined at line 8401 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

::fuchsia::bluetooth::le::Extended & extended ()

Advertise using extended advertising packets. Extended advertising

packets allow for a much larger amount of data to be advertised than

legacy advertising packets (31 bytes vs 251 bytes per PDU). Extended

advertising packets support up to 1,650 bytes in an advertisement chain,

but they are only discoverable by newer devices using Bluetooth 5.0+.

Extended advertising packets are not supported by all

products. PeripheralError::NOT_SUPPORTED will be returned if requested

and not supported.

Defined at line 8412 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

const ::fuchsia::bluetooth::le::Extended & extended ()

Advertise using extended advertising packets. Extended advertising

packets allow for a much larger amount of data to be advertised than

legacy advertising packets (31 bytes vs 251 bytes per PDU). Extended

advertising packets support up to 1,650 bytes in an advertisement chain,

but they are only discoverable by newer devices using Bluetooth 5.0+.

Extended advertising packets are not supported by all

products. PeripheralError::NOT_SUPPORTED will be returned if requested

and not supported.

Defined at line 8426 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

AdvertisingProcedure & set_legacy (::fuchsia::bluetooth::le::Legacy value)
AdvertisingProcedure & set_extended (::fuchsia::bluetooth::le::Extended value)
AdvertisingProcedure & SetUnknownData (fidl_xunion_tag_t ordinal, std::vector<uint8_t> bytes)
::fuchsia::bluetooth::le::AdvertisingProcedure::Tag Which ()

Defined at line 8433 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

fidl_xunion_tag_t Ordinal ()

You probably want to use Which() method instead of Ordinal(). Use Ordinal() only when you need

access to the raw integral ordinal value.

Defined at line 8448 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

const std::vector<uint8_t> * UnknownBytes ()

Defined at line 8451 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

Enumerations

enum Tag
Name Value
kUnknown 0
kLegacy 1
kExtended 2
Invalid ::std::numeric_limits<::fidl_union_tag_t>::max()

Defined at line 8365 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

Friends

class Equality