home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a081 / 2.ddi / CTFXX.EXE / MODEM.TXT < prev    next >
Encoding:
Text File  |  1992-02-02  |  2.0 KB  |  53 lines

  1. 05-04-91 CommTools v1.00a -- MODEM.TXT
  2.  
  3.                     RETURN CODES FROM MODEM COMMANDS
  4.  
  5. The following table lists the return codes from the functions
  6. modem_icmd() and modem_dial() and the corresponding verbal reponses from
  7. the modem.  Most of the codes below are returned in response to a
  8. command to dial the modem and make a connection with a remote system.
  9.  
  10. Note: The character '\r' denotes a carriage return.  The character '\n'
  11. denotes a line feed.
  12.  
  13. Verbal Response Code From Modem           Numeric Value
  14. -------------------------------           -------------
  15.  
  16. "PROTOCOL:ERROR-CONTROL/AFT\r\n",         73
  17. "PROTOCOL:ERROR-CONTROL/LAP-B/HDX\r\n",   72
  18. "PROTOCOL:ERROR-CONTROL/LAP-B\r\n",       71
  19. "PROTOCOL:NONE\r\n",                      70
  20. "CARRIER 9600\r\n",                       50
  21. "CARRIER 2400\r\n",                       47
  22. "CARRIER 1200\r\n",                       46
  23. "CARRIER 300\r\n",                        40
  24. "CONNECT 19200\r\n",                      14
  25. "CONNECT 9600\r\n",                       12
  26. "CONNECT 4800\r\n",                       11
  27. "CONNECT 2400\r\n",                       10
  28. "CONNECT 600\r\n",                        9    && Intel Connection CoProcessor
  29. "NO ANSWER\r\n",                          8
  30. "BUSY\r\n",                               7
  31. "NO DIAL TONE\r\n",                       6
  32. "NO DIALTONE\r\n",                        6
  33. "CONNECT 1200\r\n",                       5
  34. "ERROR\r\n",                              4
  35. "NO CARRIER\r\n",                         3
  36. "RING\r\n",                               2
  37. "CONNECT\r\n",                            1
  38. "OK\r\n",                                 0
  39.  
  40. Modem Initialization Commands
  41. -----------------------------
  42. By default, CommTools sends the following initialization strings. The
  43. value of 'type' is obtained from modem_type():
  44.  
  45. Type            Initialization String
  46. ----            ---------------------
  47. Unknown
  48. 1200            "X1"
  49. 1200EF          "L1X4"
  50. 2400            "&C1&D2X4S11=50"
  51. 9600            "&C1&D2X4S11=50"
  52. TELEBIT         "X3"
  53.