class ChannelMode
Defined at line 518 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/cpp/fidl/fuchsia.bluetooth/cpp/common_types.h
The supported channel modes of operation of an L2CAP channel.
For BR/EDR, this is used to specify preferred and accepted L2CAP channel
modes. If the peer rejects a non-BASIC mode, the Bluetooth system will
attempt to open the channel in BASIC mode instead.
For LE, this is used to specify the exact channel mode to use, if the
peer rejects the requested mode, the channel will fail to be established.
For a description of each mode, see Bluetooth Spec v5.4, Vol 3, Part A, Sec 2.4.
Public Members
static ChannelMode kBasic
static ChannelMode kEnhancedRetransmission
static ChannelMode kLeCreditBasedFlowControl
static ChannelMode kEnhancedCreditBasedFlowControl
Public Methods
void ChannelMode ()
Defined at line 540 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/cpp/fidl/fuchsia.bluetooth/cpp/common_types.h
void ChannelMode (uint32_t value)
Defined at line 541 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/cpp/fidl/fuchsia.bluetooth/cpp/common_types.h
EnumForSwitching_ operator fuchsia_bluetooth::ChannelMode::EnumForSwitching_ ()
Defined at line 542 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/cpp/fidl/fuchsia.bluetooth/cpp/common_types.h
uint32_t operator unsigned int ()
Defined at line 543 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/cpp/fidl/fuchsia.bluetooth/cpp/common_types.h
bool IsUnknown ()
Defined at line 545 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/cpp/fidl/fuchsia.bluetooth/cpp/common_types.h
ChannelMode Unknown ()
Returns an enum corresponding to the member designated as
in the
FIDL schema if exists, or a compiler-reserved unknown value otherwise.
Defined at line 562 of file fidling/gen/sdk/fidl/fuchsia.bluetooth/fuchsia.bluetooth/cpp/fidl/fuchsia.bluetooth/cpp/common_types.h