class AdvertisingData
Defined at line 838 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
Represents advertising and scan response data that are transmitted by a LE peripheral or
broadcaster.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::std::string & name ()
Long or short name of the device.
Defined at line 845 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_name ()
Defined at line 849 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
::std::string * mutable_name ()
Long or short name of the device.
Defined at line 854 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_name ()
Defined at line 862 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const ::fuchsia::bluetooth::Appearance & appearance ()
The appearance of the device.
Defined at line 871 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_appearance ()
Defined at line 875 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
::fuchsia::bluetooth::Appearance * mutable_appearance ()
The appearance of the device.
Defined at line 880 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_appearance ()
Defined at line 888 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_tx_power_level ()
Defined at line 900 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
int8_t * mutable_tx_power_level ()
Defined at line 904 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_tx_power_level ()
Defined at line 912 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const ::std::vector< ::fuchsia::bluetooth::Uuid> & service_uuids ()
Service UUIDs.
Defined at line 921 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_service_uuids ()
Defined at line 925 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
::std::vector< ::fuchsia::bluetooth::Uuid> * mutable_service_uuids ()
Service UUIDs.
Defined at line 930 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_service_uuids ()
Defined at line 938 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const ::std::vector< ::fuchsia::bluetooth::le::ServiceData> & service_data ()
Service data entries.
Defined at line 947 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_service_data ()
Defined at line 951 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
::std::vector< ::fuchsia::bluetooth::le::ServiceData> * mutable_service_data ()
Service data entries.
Defined at line 956 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_service_data ()
Defined at line 964 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const ::std::vector< ::fuchsia::bluetooth::le::ManufacturerData> & manufacturer_data ()
Manufacturer-specific data entries.
Defined at line 973 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_manufacturer_data ()
Defined at line 977 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
::std::vector< ::fuchsia::bluetooth::le::ManufacturerData> * mutable_manufacturer_data ()
Manufacturer-specific data entries.
Defined at line 982 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_manufacturer_data ()
Defined at line 990 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_uris ()
Defined at line 1007 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
::std::vector< ::std::string> * mutable_uris ()
String representing a URI to be advertised, as defined in [IETF STD 66](https://tools.ietf.org/html/std66).
Each entry should be a UTF-8 string including the scheme. For more information, see:
- https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml for allowed schemes;
- https://www.bluetooth.com/specifications/assigned-numbers/uri-scheme-name-string-mapping
for code-points used by the system to compress the scheme to save space in the payload.
Defined at line 1016 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_uris ()
Defined at line 1024 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const bool & include_tx_power_level ()
Indicates whether the current TX power level should be included in the advertising data.
Defined at line 1033 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_include_tx_power_level ()
Defined at line 1037 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool * mutable_include_tx_power_level ()
Indicates whether the current TX power level should be included in the advertising data.
Defined at line 1042 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_include_tx_power_level ()
Defined at line 1050 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const ::std::array<uint8_t, 6> & resolvable_set_identifier ()
Identifies the peer as belonging to a Coordinated Set.
Resolution and generation of this parameter is defined in the
Coordinated Set Identification Service Specification.
Defined at line 1061 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_resolvable_set_identifier ()
Defined at line 1065 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
::std::array<uint8_t, 6> * mutable_resolvable_set_identifier ()
Identifies the peer as belonging to a Coordinated Set.
Resolution and generation of this parameter is defined in the
Coordinated Set Identification Service Specification.
Defined at line 1072 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_resolvable_set_identifier ()
Defined at line 1080 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const ::std::string & broadcast_name ()
The broadcast name string can be used by a user interface on a scanning
device that displays information on the available broadcast sources.
Multiple devices with the same Broadcast Name may be transmitting the
same data, allowing devices to choose one. At least 4 unicode characters
long and no more than 32 characters.
Defined in the Public Broadcast Profile specification.
Defined at line 1096 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_broadcast_name ()
Defined at line 1100 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
::std::string * mutable_broadcast_name ()
The broadcast name string can be used by a user interface on a scanning
device that displays information on the available broadcast sources.
Multiple devices with the same Broadcast Name may be transmitting the
same data, allowing devices to choose one. At least 4 unicode characters
long and no more than 32 characters.
Defined in the Public Broadcast Profile specification.
Defined at line 1112 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_broadcast_name ()
Defined at line 1120 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
AdvertisingData & set_name (::std::string _value)
AdvertisingData & set_appearance (::fuchsia::bluetooth::Appearance _value)
AdvertisingData & set_tx_power_level (int8_t _value)
AdvertisingData & set_service_uuids (::std::vector< ::fuchsia::bluetooth::Uuid> _value)
AdvertisingData & set_service_data (::std::vector< ::fuchsia::bluetooth::le::ServiceData> _value)
AdvertisingData & set_manufacturer_data (::std::vector< ::fuchsia::bluetooth::le::ManufacturerData> _value)
AdvertisingData & set_uris (::std::vector< ::std::string> _value)
AdvertisingData & set_include_tx_power_level (bool _value)
AdvertisingData & set_resolvable_set_identifier (::std::array<uint8_t, 6> _value)
AdvertisingData & set_broadcast_name (::std::string _value)
void AdvertisingData ()
void AdvertisingData (AdvertisingData && other)
const int8_t & tx_power_level ()
Defined at line 896 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const ::std::vector< ::std::string> & uris ()
String representing a URI to be advertised, as defined in [IETF STD 66](https://tools.ietf.org/html/std66).
Each entry should be a UTF-8 string including the scheme. For more information, see:
- https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml for allowed schemes;
- https://www.bluetooth.com/specifications/assigned-numbers/uri-scheme-name-string-mapping
for code-points used by the system to compress the scheme to save space in the payload.
Defined at line 1003 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void ~AdvertisingData ()
AdvertisingData & operator= (AdvertisingData && other)
::std::unique_ptr<AdvertisingData> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, AdvertisingData * _value, size_t _offset)
zx_status_t Clone (AdvertisingData * _result)