class AdvertisingProcedure

Defined at line 9051 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 9079 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 9083 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 9087 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 9094 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 9100 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 9111 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 9125 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 9132 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 9147 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 9150 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 9064 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

Friends

class Equality