class AdvertisingData
Defined at line 810 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 817 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 821 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 826 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 834 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 843 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 847 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 852 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 860 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 872 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 876 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 884 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 893 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 897 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 902 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 910 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 919 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 923 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 928 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 936 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 945 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 949 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 954 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 962 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 979 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 988 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 996 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 1005 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 1009 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 1014 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 1022 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 1033 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 1037 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 1044 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 1052 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 1068 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 1072 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 1084 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 1092 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 868 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 975 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)