class Filter
Defined at line 1249 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
Filter parameters for use during a scan. A discovered peer only matches the
filter if it satisfies all of the present filter parameters.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
Filter & set_service_uuid (::fuchsia::bluetooth::Uuid _value)
Filter & set_service_data_uuid (::fuchsia::bluetooth::Uuid _value)
Filter & set_manufacturer_id (uint16_t _value)
Filter & set_connectable (bool _value)
Filter & set_name (::std::string _value)
Filter & set_max_path_loss (int8_t _value)
Filter & set_solicitation_uuid (::fuchsia::bluetooth::Uuid _value)
void Filter ()
void Filter (Filter && other)
void ~Filter ()
Filter & operator= (Filter && other)
::std::unique_ptr<Filter> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, Filter * _value, size_t _offset)
zx_status_t Clone (Filter * _result)
const ::fuchsia::bluetooth::Uuid & service_uuid ()
Filter based on advertised service UUID.
Defined at line 1256 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_service_uuid ()
Defined at line 1260 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
::fuchsia::bluetooth::Uuid * mutable_service_uuid ()
Filter based on advertised service UUID.
Defined at line 1265 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_service_uuid ()
Defined at line 1273 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const ::fuchsia::bluetooth::Uuid & service_data_uuid ()
Filter based on service data containing the given UUID.
Defined at line 1282 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_service_data_uuid ()
Defined at line 1286 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
::fuchsia::bluetooth::Uuid * mutable_service_data_uuid ()
Filter based on service data containing the given UUID.
Defined at line 1291 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_service_data_uuid ()
Defined at line 1299 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const uint16_t & manufacturer_id ()
Filter based on a manufacturer identifier present in the manufacturer
data. If this filter parameter is set, then the advertising payload must
contain manufacturer specific data with the provided company identifier
to satisfy this filter. Manufacturer identifiers can be found at
https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers/
Defined at line 1312 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_manufacturer_id ()
Defined at line 1316 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
uint16_t * mutable_manufacturer_id ()
Filter based on a manufacturer identifier present in the manufacturer
data. If this filter parameter is set, then the advertising payload must
contain manufacturer specific data with the provided company identifier
to satisfy this filter. Manufacturer identifiers can be found at
https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers/
Defined at line 1325 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_manufacturer_id ()
Defined at line 1333 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const bool & connectable ()
Filter based on whether or not a device is connectable. For example, a
client that is only interested in peripherals that it can connect to can
set this to true. Similarly a client can scan only for broadcasters by
setting this to false.
Defined at line 1345 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_connectable ()
Defined at line 1349 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool * mutable_connectable ()
Filter based on whether or not a device is connectable. For example, a
client that is only interested in peripherals that it can connect to can
set this to true. Similarly a client can scan only for broadcasters by
setting this to false.
Defined at line 1357 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_connectable ()
Defined at line 1365 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const ::std::string & name ()
Filter results based on a portion of the advertised device name.
Substring matches are allowed.
Defined at line 1375 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 1379 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
::std::string * mutable_name ()
Filter results based on a portion of the advertised device name.
Substring matches are allowed.
Defined at line 1385 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 1393 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const int8_t & max_path_loss ()
Filter results based on the path loss of the radio wave. A device that
matches this filter must satisfy the following:
1. Radio transmission power level and received signal strength must be
available for the path loss calculation;
2. The calculated path loss value must be less than, or equal to,
`max_path_loss`.
NOTE: This field is calculated using the RSSI and TX Power information
obtained from advertising and scan response data during a scan procedure.
It should NOT be confused with information for an active connection
obtained using the "Path Loss Reporting" feature.
Defined at line 1412 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_max_path_loss ()
Defined at line 1416 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
int8_t * mutable_max_path_loss ()
Filter results based on the path loss of the radio wave. A device that
matches this filter must satisfy the following:
1. Radio transmission power level and received signal strength must be
available for the path loss calculation;
2. The calculated path loss value must be less than, or equal to,
`max_path_loss`.
NOTE: This field is calculated using the RSSI and TX Power information
obtained from advertising and scan response data during a scan procedure.
It should NOT be confused with information for an active connection
obtained using the "Path Loss Reporting" feature.
Defined at line 1431 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_max_path_loss ()
Defined at line 1439 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const ::fuchsia::bluetooth::Uuid & solicitation_uuid ()
Filter based on a service solicitation by service UUID.
Service solicitation is an invitation to a peer to connect if they
provide a service we want to use.
Defined at line 1450 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_solicitation_uuid ()
Defined at line 1454 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
::fuchsia::bluetooth::Uuid * mutable_solicitation_uuid ()
Filter based on a service solicitation by service UUID.
Service solicitation is an invitation to a peer to connect if they
provide a service we want to use.
Defined at line 1461 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_solicitation_uuid ()
Defined at line 1469 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h