class AcceptedChannelParameters
Defined at line 5130 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
The set of parameters for accepting a channel when listening for new channel
connections.
See [`ChannelListenerRegistry/ListenL2cap`].
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::std::vector< ::fuchsia::bluetooth::ChannelMode> & accepted_channel_modes ()
All channel modes that should be accepted while listening. Must contain
at least one channel mode or the call will fail with
`ZX_ERR_INVALID_ARGS`.
Required.
Defined at line 5140 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_accepted_channel_modes ()
Defined at line 5144 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
::std::vector< ::fuchsia::bluetooth::ChannelMode> * mutable_accepted_channel_modes ()
All channel modes that should be accepted while listening. Must contain
at least one channel mode or the call will fail with
`ZX_ERR_INVALID_ARGS`.
Required.
Defined at line 5152 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_accepted_channel_modes ()
Defined at line 5160 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
const uint16_t & max_packet_size ()
Maximum supported packet size for receiving.
Optional. If not provided, the size will be determined by the Bluetooth
system. No guarantees are given regarding the size selected.
Defined at line 5171 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
bool has_max_packet_size ()
Defined at line 5175 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
uint16_t * mutable_max_packet_size ()
Maximum supported packet size for receiving.
Optional. If not provided, the size will be determined by the Bluetooth
system. No guarantees are given regarding the size selected.
Defined at line 5182 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
void clear_max_packet_size ()
Defined at line 5190 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.le/fuchsia.bluetooth.le/hlcpp/fuchsia/bluetooth/le/cpp/fidl.h
AcceptedChannelParameters & set_accepted_channel_modes (::std::vector< ::fuchsia::bluetooth::ChannelMode> _value)
AcceptedChannelParameters & set_max_packet_size (uint16_t _value)
void AcceptedChannelParameters ()
void AcceptedChannelParameters (AcceptedChannelParameters && other)
void ~AcceptedChannelParameters ()
AcceptedChannelParameters & operator= (AcceptedChannelParameters && other)
::std::unique_ptr<AcceptedChannelParameters> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, AcceptedChannelParameters * _value, size_t _offset)
zx_status_t Clone (AcceptedChannelParameters * _result)