class ScanData
Defined at line 6359 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
Information obtained from advertising and scan response data broadcast by a peer.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
ScanData & set_tx_power (int8_t _value)
ScanData & set_appearance (::fuchsia::bluetooth::Appearance _value)
ScanData & set_service_uuids (::std::vector< ::fuchsia::bluetooth::Uuid> _value)
ScanData & set_service_data (::std::vector< ::fuchsia::bluetooth::le::ServiceData> _value)
ScanData & set_manufacturer_data (::std::vector< ::fuchsia::bluetooth::le::ManufacturerData> _value)
ScanData & set_uris (::std::vector< ::std::string> _value)
ScanData & set_timestamp (int64_t _value)
ScanData & set_resolvable_set_identifier (::std::array<uint8_t, 6> _value)
ScanData & set_broadcast_name (::std::string _value)
void ScanData ()
void ScanData (ScanData && other)
void ~ScanData ()
ScanData & operator= (ScanData && other)
::std::unique_ptr<ScanData> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ScanData * _value, size_t _offset)
zx_status_t Clone (ScanData * _result)
const int8_t & tx_power ()
The radio transmit power level reported by an advertising and/or scannable peer.
NOTE: This field should NOT be confused with the "connection TX Power Level" of a peer that
is currently connected to the system obtained via the "Transmit Power reporting" feature.
Defined at line 6369 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_tx_power ()
Defined at line 6373 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
int8_t * mutable_tx_power ()
The radio transmit power level reported by an advertising and/or scannable peer.
NOTE: This field should NOT be confused with the "connection TX Power Level" of a peer that
is currently connected to the system obtained via the "Transmit Power reporting" feature.
Defined at line 6381 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_tx_power ()
Defined at line 6389 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 6398 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 6402 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 6407 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 6415 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 6424 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 6428 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 6433 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 6441 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 6450 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 6454 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 6459 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 6467 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 6476 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 6480 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 6485 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 6493 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;
NOTE: Bluetooth advertising compresses schemas over the air to save space. See
https://www.bluetooth.com/specifications/assigned-numbers/uri-scheme-name-string-mapping.
Defined at line 6506 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 6510 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;
NOTE: Bluetooth advertising compresses schemas over the air to save space. See
https://www.bluetooth.com/specifications/assigned-numbers/uri-scheme-name-string-mapping.
Defined at line 6519 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 6527 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const int64_t & timestamp ()
The monotonic time when this scan data was received.
Defined at line 6536 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_timestamp ()
Defined at line 6540 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
int64_t * mutable_timestamp ()
The monotonic time when this scan data was received.
Defined at line 6545 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_timestamp ()
Defined at line 6553 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 6564 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 6568 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 6575 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 6583 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 6599 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 6603 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 6615 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 6623 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h