class ScanData
Defined at line 5786 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)
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 5796 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 5800 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 5808 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 5816 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 5825 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 5829 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 5834 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 5842 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 5851 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 5855 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 5860 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 5868 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 5877 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 5881 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 5886 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 5894 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 5903 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 5907 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 5912 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 5920 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 5933 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 5937 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 5946 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 5954 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 5963 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 5967 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 5972 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 5980 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h