class AdvertisingProcedure

Defined at line 9099 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 9127 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 9131 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 9135 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 9142 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 9148 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 9159 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 9173 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 9180 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 9195 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 9198 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h

Enumerations

enum Tag : fidl_xunion_tag_t
Name Value Comments
kUnknown 0 --
kLegacy 1

0x1

kExtended 2

0x2

Invalid ::std::numeric_limits<::fidl_union_tag_t>::max() --

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

Friends

class Equality