Skip to main content

Module cmux

Module cmux 

Source
Expand description

GSM 07.10 CMUX (virtual serial channels over one physical port).

Modules§

frame
3GPP TS 27.010 (GSM 07.10) basic-option frame encode/decode.

Structs§

CmuxSession
Active GSM 07.10 multiplexer on a physical serial port.
CmuxTimers
27.010 link timers, from the AT+CMUX= parameters (see CmuxTimers::from_command).
DecodedFrame
Deframer
Streaming deframer: keeps partial frames across reads and resyncs on garbage.
DlciChannel
Per-DLCI routing state (virtual channel).
SerialPortIo

Traits§

CmuxPhysicalIo
Writes raw bytes to the physical CMUX bearer.

Functions§

cmux_n1
N1 (maximum info bytes per frame) from an AT+CMUX= command: the 4th parameter. 31 (the basic-option default) when absent or empty.
encode_uih
UIH data frames for payload, split into TX_N1-sized info fields.
is_data_dlci
Data DLCIs are 1..=63 (6-bit address field; 0 is the control channel).
mux_path
Build a managed virtual port path for dlci on physical.
parse_mux_path
Parse physical#dlci=N → (physical, dlci).