The "TTY" management interface directory allows you to control the state of the available TTY interfaces (TTY ports). Moreover, it is possible to issue one "DTR drop" to the TTY interface that will clear the connection and re-initialize the selected TTY interface.
Applications can use the context of this directory to retrieve the information about the last processed call (detected protocol, bit rate, calling party number, ...) and use this information for example for call-back.
Port Manager
Name |
Type |
Attribute |
Description |
Count |
MI_UINT |
R |
Total amount of ports available in the system |
Open |
MI_UINT |
R |
Total amount of ports in use |
Connected |
MI_UINT |
R |
Total amount of established connections |
TXX-YY |
MI_DIR |
R |
Directories that contains information about TTY interfaces |
Port Status
Name |
Type |
Attribute |
Description |
Nr |
MI_UINT |
R |
Port number |
Open |
MI_ASCIIZ |
R |
Port status; indicates if current port is in use |
DCD |
MI_BOOLEAN |
R |
Indicates status of the DCD line |
Connected |
MI_ASCIIZ |
R |
Indicates status of the connection |
SystemName |
MI_ASCIIZ |
R |
Name of the device node in the "/dev" directory |
Protocol |
MI_UINT |
R |
Protocol used to process current (last) call |
ProtocolName |
MI_ASCIIZ |
R |
Name of the protocol used to process current (last) call |
Profile |
MI_UINT |
R |
TTY profile to select protocol used to process current (last) call |
AtInit |
MI_ASCIIZ |
R |
AT command to select protocol used to process current (last) call |
TxSpeed |
MI_UINT |
R |
Current (last) transmission speed |
RxSpeed |
MI_UINT |
R |
Current (last) reception speed |
DTR drop |
MI_EXECUTE |
R |
Used to issue "DTR drop" on current TTY interface |