class AdvertisingData
Defined at line 846 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 853 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 857 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 862 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 870 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 879 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 883 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 888 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 896 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 908 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 912 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 920 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 929 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 933 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 938 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 946 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 955 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 959 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 964 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 972 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 981 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 985 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 990 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 998 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 1015 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 1024 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 1032 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 1041 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 1045 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 1050 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 1058 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 1069 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 1073 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 1080 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 1088 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 1104 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 1108 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 1120 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 1128 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 904 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 1011 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)