class ConnectionOptions
Defined at line 2357 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
Represents parameters that are set on a per-connection basis by FIDL protocols that create
Low Energy connections.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const bool & bondable_mode ()
When true, the connection operates in bondable mode. This means pairing will form a bond,
or persist across disconnections, if the peer is also in bondable mode. When not present,
the connection defaults to bondable mode. When false, the connection operates in non-
bondable mode, which means the local device only allows pairing that does not form a bond.
Defined at line 2367 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_bondable_mode ()
Defined at line 2371 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool * mutable_bondable_mode ()
When true, the connection operates in bondable mode. This means pairing will form a bond,
or persist across disconnections, if the peer is also in bondable mode. When not present,
the connection defaults to bondable mode. When false, the connection operates in non-
bondable mode, which means the local device only allows pairing that does not form a bond.
Defined at line 2379 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_bondable_mode ()
Defined at line 2387 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const ::fuchsia::bluetooth::Uuid & service_filter ()
When present, service discovery performed following the connection is restricted to primary
services that match this field. Otherwise, by default all available services are discovered.
Defined at line 2397 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_service_filter ()
Defined at line 2401 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
::fuchsia::bluetooth::Uuid * mutable_service_filter ()
When present, service discovery performed following the connection is restricted to primary
services that match this field. Otherwise, by default all available services are discovered.
Defined at line 2407 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_service_filter ()
Defined at line 2415 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
ConnectionOptions & set_bondable_mode (bool _value)
ConnectionOptions & set_service_filter (::fuchsia::bluetooth::Uuid _value)
void ConnectionOptions ()
void ConnectionOptions (ConnectionOptions && other)
void ~ConnectionOptions ()
ConnectionOptions & operator= (ConnectionOptions && other)
::std::unique_ptr<ConnectionOptions> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ConnectionOptions * _value, size_t _offset)
zx_status_t Clone (ConnectionOptions * _result)