class ChannelParameters

Defined at line 1086 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

The set of parameters to use or that were used to establish an L2CAP

connection-oriented channel.

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::fuchsia::bluetooth::ChannelMode & channel_mode ()

Optional.

For BR/EDR: If not provided, BASIC will be used.

For LE: If not provided, LE_CREDIT_BASED_FLOW_CONTROL will be used.

Defined at line 1095 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

bool has_channel_mode ()

Defined at line 1099 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

::fuchsia::bluetooth::ChannelMode * mutable_channel_mode ()

Optional.

For BR/EDR: If not provided, BASIC will be used.

For LE: If not provided, LE_CREDIT_BASED_FLOW_CONTROL will be used.

Defined at line 1106 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

void clear_channel_mode ()

Defined at line 1114 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

const uint16_t & max_rx_packet_size ()

Maximum packet size this profile is capable of accepting. Must be >= 48.

Optional. If not provided, the size will be determined by the Bluetooth

system. No guarantees are given regarding the size selected.

Defined at line 1125 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

bool has_max_rx_packet_size ()

Defined at line 1129 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

uint16_t * mutable_max_rx_packet_size ()

Maximum packet size this profile is capable of accepting. Must be >= 48.

Optional. If not provided, the size will be determined by the Bluetooth

system. No guarantees are given regarding the size selected.

Defined at line 1136 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

void clear_max_rx_packet_size ()

Defined at line 1144 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

const ::fuchsia::bluetooth::SecurityRequirements & security_requirements ()

For BR/EDR: Minimum security requirements a link must have before this

channel can be created. The requirements provided here will be

attempted with the peer before the channel is established. If a peer

cannot provide the requirements, the channel is closed.

Optional. If not provided, then the only security property guaranteed

is encryption.

For LE: Unused, must not be present.

Defined at line 1160 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

bool has_security_requirements ()

Defined at line 1164 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

::fuchsia::bluetooth::SecurityRequirements * mutable_security_requirements ()

For BR/EDR: Minimum security requirements a link must have before this

channel can be created. The requirements provided here will be

attempted with the peer before the channel is established. If a peer

cannot provide the requirements, the channel is closed.

Optional. If not provided, then the only security property guaranteed

is encryption.

For LE: Unused, must not be present.

Defined at line 1176 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

void clear_security_requirements ()

Defined at line 1184 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

const int64_t & flush_timeout ()

For BR/EDR: The flush timeout indicates the maximum amount of time a

data packet should be buffered in the controller before it is dropped.

A flush timeout of infinity can be used to mark packets as flushable

without any particular flush timeout.

Range: 1ms - 1,279ms (or ∞). Rounded down.

Optional. If not provided, no flush timeout and packets are not flushable.

For LE: Unused, must not be present.

Defined at line 1200 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

bool has_flush_timeout ()

Defined at line 1204 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

int64_t * mutable_flush_timeout ()

For BR/EDR: The flush timeout indicates the maximum amount of time a

data packet should be buffered in the controller before it is dropped.

A flush timeout of infinity can be used to mark packets as flushable

without any particular flush timeout.

Range: 1ms - 1,279ms (or ∞). Rounded down.

Optional. If not provided, no flush timeout and packets are not flushable.

For LE: Unused, must not be present.

Defined at line 1216 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

void clear_flush_timeout ()

Defined at line 1224 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/hlcpp/fuchsia/bluetooth/cpp/fidl.h

ChannelParameters & set_channel_mode (::fuchsia::bluetooth::ChannelMode _value)
ChannelParameters & set_max_rx_packet_size (uint16_t _value)
ChannelParameters & set_security_requirements (::fuchsia::bluetooth::SecurityRequirements _value)
ChannelParameters & set_flush_timeout (int64_t _value)
void ChannelParameters ()
void ChannelParameters (ChannelParameters && other)
void ~ChannelParameters ()
ChannelParameters & operator= (ChannelParameters && other)
::std::unique_ptr<ChannelParameters> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, ChannelParameters * _value, size_t _offset)
zx_status_t Clone (ChannelParameters * _result)