Users Manual Instruction Manual

122
CATC BTTRAINER 2.20 APPENDIX A
User’s Manual
A.11.14 SetModemStatus
This command will send the ModemStatus to the remote device. It allows the user to send
Flow Control and V.24 signals to the remote device.
LineStatus 0x0F 0x01 -- Set to indicate an error.
0x02 -- Set to indicate an
overrun error.
0x04 -- Set to indicate a parity
error.
0x08 -- Set to indicate a framing
error.
Return Events
SetLineStatus_Complete
SetLineStatus_Failed
Command Parameters Examples Comments
(HCI/DLCI) (0x0001,
0x02)
ModemSignals 0x8C Modem Signal Values:
0x8c - Ready to communicate, ready to receive, and
data valid
0x02 (FLOW) - Set when sender is unable to receive
frames
0x04 (RTC) - Set when sender is ready to
communicate.
0x08 (RTR) - Set when sender is ready to receive data.
0x40 (IC) - Set when a call is incoming.
0x80 (DV) - Set when valid data is being sent.
BreakLength 0x00 0-15 indicates the length of the break signal in 200ms
units.
0 indicates no break signal.
Return Events
SetModemStatus_Complete
SetModemStatus_Failed
Command Parameters Examples Comments