class Filter
Defined at line 1257 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 1264 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 1268 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 1273 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 1281 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 1290 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 1294 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 1299 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 1307 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 1320 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 1324 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 1333 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 1341 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 1353 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 1357 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 1365 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 1373 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 1383 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 1387 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 1393 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 1401 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 1420 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 1424 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 1439 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 1447 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 1458 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 1462 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 1469 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 1477 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h