Skip to main content

Module mux

Module mux 

Source
Expand description

3GPP 27.010 basic-option frames, as a modem sends and reads them.

Structs§

Frame
One frame.
Reader
Splits a byte stream into frames; bytes that are no frame are dropped.

Constants§

CLD
Multiplexer close down: the control message on DLCI 0 that ends the multiplexer (type octet, command form, as all of them here).
DISC
Disconnect: closes a DLCI.
DM
Disconnected mode: refuses a DLCI.
FCOFF
Flow control off: no channel data until FCON.
FCON
Flow control on: channel data may be sent again.
MSC
Modem status command: V.24 signals and flow control of one DLCI.
PF
Poll / final bit of the control octet.
SABM
Set asynchronous balanced mode: opens a DLCI.
UA
Unnumbered acknowledgement.
UIH
Data.

Functions§

control
A control message from the modem on DLCI 0.
data
Data from the modem on dlci (the modem is the responder: C/R 0 in its commands).
frame
A frame as sent on the wire; control carries the P/F bit when it is set. The modem is the responder (27.010 §5.2.1.2): cr is false in its commands (DISC) and data, true in its responses (UA, DM).