Module mux_commands

Source
Expand description

Definitions for multiplexer command frames.

Structs§

FlowControlParams
The Flow Control Command is used to enable/disable aggregate flow. The command contains no parameters. Defined in GSM 7.10 Section 5.4.6.3.5 & 5.4.6.3.6.
LengthField
ModemStatusParams
Modem Status Command is used to convey V .24 control signals to the DLC. Defined in GSM 7.10 Section 6.4.6.3.7.
MuxCommand
Represents an RFCOMM multiplexer command.
MuxCommandIdentifier
The unique identifier associated with a MuxCommand. Some MuxCommands are associated with a DLCI - we uniquely identify such a command by it’s optional DLCI and command type.
NonSupportedCommandParams
This response is sent whenever a command type is not supported by the device. Defined in GSM 7.10 Section 5.4.6.3.8.
ParameterNegotiationParams
The DLC Parameter Negotiation command - used to negotiate parameters for a given DLC. See GSM 7.10 Section 5.4.6.3.1 for the fields and RFCOMM 5.5.3 for modifications.
RemoteLineStatusParams
The Remote Line Status Command is used to indicate the status of the Remote Port Line. It is used whenever the port settings change. Defined in GSM 7.10 Section 5.4.6.3.10, with RFCOMM specifics in RFCOMM 5.5.2.
RemotePortNegotiationParams
The Remote Port Negotiation (RPN) command is used whenever the port settings change. Defined in GSM 7.10 Section 5.4.6.3.9, with RFCOMM notes in RFCOMM 5.5.1.
TestCommandParams
The Test Command is used to test the connection between two entities in a Session. The command can be arbitrarily sized, and contains a pattern that must be echoed back. See 7.10 Section GSM 5.4.6.3.4.

Enums§

CreditBasedFlowHandshake
The Credit Based Flow Handshake variants defined in RFCOMM Table 5.3.
MuxCommandMarker
The supported Multiplexer Commands in RFCOMM. These commands are sent/received over the Multiplexer Control Channel (DLCI 0) and are 6 bits wide. See RFCOMM 4.3.
MuxCommandParams
The parameters associated with a Mux Command.
RlsError
The error types supported in the Remote Line Status command. See GSM 07.10 Section 5.4.6.3.10 for the defined variants.

Constants§

DEFAULT_INITIAL_CREDITS
The default initial credit amount for the peer during parameter negotiation. This is chosen as the maximum initial credits allowed as per RFCOMM 5.5.3.