home *** CD-ROM | disk | FTP | other *** search
- 05-04-91 CommTools v1.00a -- MODEM.TXT
-
- RETURN CODES FROM MODEM COMMANDS
-
- The following table lists the return codes from the functions
- modem_icmd() and modem_dial() and the corresponding verbal reponses from
- the modem. Most of the codes below are returned in response to a
- command to dial the modem and make a connection with a remote system.
-
- Note: The character '\r' denotes a carriage return. The character '\n'
- denotes a line feed.
-
- Verbal Response Code From Modem Numeric Value
- ------------------------------- -------------
-
- "PROTOCOL:ERROR-CONTROL/AFT\r\n", 73
- "PROTOCOL:ERROR-CONTROL/LAP-B/HDX\r\n", 72
- "PROTOCOL:ERROR-CONTROL/LAP-B\r\n", 71
- "PROTOCOL:NONE\r\n", 70
- "CARRIER 9600\r\n", 50
- "CARRIER 2400\r\n", 47
- "CARRIER 1200\r\n", 46
- "CARRIER 300\r\n", 40
- "CONNECT 19200\r\n", 14
- "CONNECT 9600\r\n", 12
- "CONNECT 4800\r\n", 11
- "CONNECT 2400\r\n", 10
- "CONNECT 600\r\n", 9 && Intel Connection CoProcessor
- "NO ANSWER\r\n", 8
- "BUSY\r\n", 7
- "NO DIAL TONE\r\n", 6
- "NO DIALTONE\r\n", 6
- "CONNECT 1200\r\n", 5
- "ERROR\r\n", 4
- "NO CARRIER\r\n", 3
- "RING\r\n", 2
- "CONNECT\r\n", 1
- "OK\r\n", 0
-
- Modem Initialization Commands
- -----------------------------
- By default, CommTools sends the following initialization strings. The
- value of 'type' is obtained from modem_type():
-
- Type Initialization String
- ---- ---------------------
- Unknown
- 1200 "X1"
- 1200EF "L1X4"
- 2400 "&C1&D2X4S11=50"
- 9600 "&C1&D2X4S11=50"
- TELEBIT "X3"
-