home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 367.lha / SETMODEM_v1.0 / setmodem.set1 < prev    next >
Encoding:
Text File  |  1990-04-03  |  8.4 KB  |  219 lines

  1.  
  2.     Syntax: SETMODEM -fsetmodem.set1
  3.  
  4.     File format rules:
  5.  
  6.         A ">" must be in the first column for a command to be processed.
  7.         The command ends with the first "<" character encountered.
  8.         You can redefine the 'start' and 'terminate' command characters.
  9.  
  10.     Caution: SETMODEM requires some sort of response back from the modem
  11.     after sending it a command.  If you have turned off echo (ATE0) or
  12.     enabled quiet mode (ATQ1), then SETMODEM will wait 5 seconds for the
  13.     modem to respond before timeout.  Upon timeout, SETMODEM will terminate.
  14.  
  15. >BAUD19200<  Not a modem command. It tells SETMODEM to set baud at 9600BPS.
  16.              Select from 300/1200/2400/4800/9600/19200 BPS.  See AT$SBn also.
  17.  
  18.  CASEn<      Where (n) is 1=Convert ALL input to upper case characters and
  19.                           0=Do not convert input to upper case characters.
  20.              Note: FAIL= and FAIL! are case sensitive.
  21.  
  22.  WAITn<      Wait (n) seconds, (n) is a number 0 to 60.
  23.  
  24.  FAIL!text<  SETMODEM will terminate if subsequent command(s) fail to reply
  25.              with (text) reponse.
  26.  FAIL!<      SETMODEM will not terminate if subsequent command(s) fail to
  27.              reply with a reponse (turns off FAIL!text).
  28.              Note: FAIL modes can be changed anywhere in the script.
  29.  
  30.  FAIL=text<  SETMODEM will terminate if subsequent command(s) reply with
  31.              (text) reponse.
  32.  FAIL=<      SETMODEM will not terminate if subsequent command(s) reply with
  33.              a specific reponse (turns off FAIL=text).
  34.              Note: FAIL modes can be changed anywhere in the script.
  35.  
  36. >FAIL!OK<    We must always get an OK (upper case) message, but
  37. >FAIL=ERROR< if the reponse also included an ERROR (upper case), terminate.
  38.  
  39.  FAIL<       Display FAIL parameters.
  40.  
  41.  ATZ<        Zap or reset modem.
  42.  
  43.  AT&F<       Load Factory Defaults.
  44.  
  45. >AT#A0<      Detect all speeds during HANDSHAKE,(9600,4800,2400,1200,300).
  46.  AT#A1<      Disable detection of 4800, (9600,2400,1200,300).
  47.  AT#A2<      Detect V.32 mode only (9600,4800).
  48.  AT#A3<      Disable V.32 mode when Answering,(2400,1200,300).
  49.  
  50.  AT#F0<      Online Fallback DISABLED.
  51. >AT#F1<      Online Fallback ENABLED .
  52.  
  53.  AT#T0<      Trellis encoding off.
  54. >AT#T1<      Trellis encoding on.
  55.  
  56. >AT$A0<      Auto reliable buffering during linking OFF.
  57.  AT$A1<      Auto reliable buffering during linking ON.
  58.  
  59. >AT$BA0<     Baud Adjust off - turns on speed conversion.
  60.  AT$BA1<     Baud Adjust on - truns off speed conversion, makes $SB = $MB.
  61.  
  62. >AT$D0<      DTR dialing off.
  63.  AT$D1<      DTR dialing on, dial from memory ,(N0), when DTR goes high.
  64.  
  65.  AT$F0<      Link fallback off,DO NOT drop to normal if CARRIAGE RETURN received.
  66. >AT$F1<      Fallback to normal if CARRIAGE RETURN received.
  67.  
  68. >AT$MB9600<  Modem Baud rate, determines connection attempt speed.
  69.  
  70. >AT$MI0<     MI/MIC command,for use with mimic phone systems.
  71.  AT$MI<      MI/MIC command,for use with mimic phone systems.
  72.  
  73.  AT$R0<      Disconnect after 12 Retransmits in Reliable mode.
  74. >AT$R1<       Unlimited Retransmits in Reliable mode.
  75.  
  76. >AT$SB19200< Serial Baud rate, the speed the interface will send and rcv. data.
  77.  
  78. >AT&A0<      Answerback disabled.
  79.  AT&A1<      Answerback enabled.
  80.  
  81. >AT&B0<      Standard Transmit BUFFER size. (2k)
  82.  AT&B1<      Reduced BUFFER size. (512)
  83.  
  84.  AT&BS0<     Maximum Transmit BLOCK SIZE of 64 characters.
  85. >AT&BS1<     Maximum Transmit BLOCK SIZE of 256 characters.
  86.  
  87.  AT&C0<      DCD forced on, (pin 8 of interface.)
  88. >AT&C1<      DCD normal
  89.  AT&C2<      DCD forced on until disconnect, (S24) seconds low, then back on.
  90.  
  91. >AT&D0<      DTR ignore.
  92.  AT&D1<      not used.
  93.  AT&D2<      DTR normal.
  94.  AT&D3<      DTR reset, Drop of DTR causes modem to reset.
  95.  
  96. >AT&E0<      Normal mode.
  97.  AT&E1<      Auto reliable mode ,try MNP link, if it fails, fall back to normal.
  98.  AT&E2<      Reliable mode, connect only if MNP link can be established.
  99.  
  100.  AT&E3<      Flow control off.
  101. >AT&E4<      CTS/RTS hardware Flow control method.
  102.  
  103.  AT&E5<      Xon-Xoff Flow control method.
  104. >AT&E6<      Xon-Xoff Pass-thru off, valid only if &E5 is selected.
  105.  AT&E7<      Xon-Xoff Pass-thru on,  valid only if &E5 is selected.
  106.  
  107. >AT&E8<      ENQ/ACK protocol off.
  108.  AT&E9<      ENQ/ACK protocol on.
  109.  
  110. >AT&E10<     Normal mode Flow control off.
  111.  AT&E11<     Normal mode Flow control on.
  112.  
  113. >AT&E12<     Pacing off.
  114.  AT&E13<     Pacing on, modem will respond to users request to stop recieve data.
  115.  
  116.  AT&E14<     Compression off.
  117. >AT&E15<     Compression on, modem will perform MNP class 5.
  118.  
  119. >AT&G0<      Guard tones off, only for 1200/2400 international use.
  120.  AT&G1<      Guard tone 550 hz.
  121.  AT&G2<      Guard tone 1800 hz.
  122.  
  123. >AT&M0<      Async mode.
  124.  AT&M1<      Sync mode, start in Async, go to Sync after CONNECT.
  125.  
  126. >AT&P0<      Pulse dial ratio 60/40. (US)
  127.  AT&P1<      Pulse dial ratio 67/33. (International)
  128.  
  129. >AT&Q0<      Enable RELIABLE and COMPRESSED responses.
  130.  AT&Q1<      Suppress RELIABLE and COMPRESSED responses.
  131.  
  132.  AT&R0<      CTS normal, (pin 5 of interface).
  133. >AT&R1<      CTS forced on, but allowed to drop for flow control.
  134.  AT&R2<      CTS forced on until disconnect, drops for (S24) seconds then back on.
  135.  
  136.  AT&S0<      DSR forced on, (pin 6 of interface).
  137.  AT&S1<      DSR normal.
  138. >AT&S2<      DSR forced on until disconnect, drops for (S24) seconds then back on.
  139.  
  140.  AT&T4<      Response to RDLB enabled.
  141. >AT&T5<      Response to RDLB disabled.
  142.  
  143.  ATB0<       CCITT V21 mode at 300 baud.
  144. >ATB1<       BELL mode at 300 baud.
  145.  
  146.  ATDNn<      Store dial string to location (n), (n) is a number 0 to 9.
  147.  
  148. >ATDT5551212N0< Store phone number to location 0.
  149. >ATDP5551212N1< Store phone number to location 1.
  150.  
  151.  ATE0<       Echo of commands off.
  152. >ATE1<       Echo of commands on.
  153.  
  154. >ATH0<       Hook on or Hang up.
  155.  ATH1<       Hook off or busy out.
  156.  
  157.  ATI0<       Identify modem model.
  158.  ATI1<       Identify modem revision.
  159.  
  160.  ATL<        List stored telephone numbers.
  161.  ATL5<       List current configuration parameters.
  162.  ATL6<       List current S-register values.
  163.  ATL7<       List additional configuration parameters.
  164.  
  165.  ATM0<       Speaker always off.
  166. >ATM1<       Speaker on until connection.
  167.  ATM2<       Speaker always on.
  168.  ATM3<       Speaker on until handshake.
  169.  
  170.  ATP<        Pulse dial, used in dialing string
  171.  
  172. >ATQ0<       Quiet mode off, send reponses.
  173.  ATQ1<       Quiet mode on, no responses.
  174.  ATQ2<       Quiet in ANSWER mode, respond only if AT is given.
  175.  
  176. >ATR0<       Reverse mode off
  177.  ATR1<       Reverse mode on, makes Answer mode Orig. and Originate mode Ans.
  178.  
  179.  ATSn?<      S-register read value, (n) is a number  0 to 30
  180.  
  181.                 UNIT    RANGE    DEFAULT              DESCRIPTION
  182. >ATS0=1<       1 Ring   0-255      1        Sets number of rings until ANSWER
  183. >ATS1=0<       1 Ring   0-255      0        Counts rings which have occurred
  184. >ATS2=43<      ASCII    0-127     43        Sets escape code character (+)
  185. >ATS3=13<      ASCII    0-127     13        Sets character used for RETURN
  186. >ATS4=10<      ASCII    0-127     10        Sets character used for LINE FEED
  187. >ATS5=8<       ASCII    0-127      8        Sets character used for BACK SPACE
  188. >ATS6=4<      1 Second  4-255      4        Sets wait time for dialtone
  189. >ATS7=30<     1 Second  1-45      30        Wait for carrier abort time
  190. >ATS8=4<      1 Second  4-255      4        Pause time for comma
  191. >ATS9=6<      100 MS    0-255      6        Carrier detect response time
  192. >ATS10=7<     100 MS    0-255      7        Loss of carrier disconnect time
  193. >ATS11=80<      1 MS    80-255    80        Touch tone duration and spacing
  194. >ATS12=50<     20 MS    0-255     50        Escape code guard time
  195. >ATS24=20<     50 MS    0-255     20        Drop time for &C2,&R2,&S2
  196. >ATS25=0<     100 MS    0-255      0        DTR drop time (0 = 50 MS)
  197. >ATS30=30<    1 Minute  0-255      0        Inactivity timer (0 = off)
  198.  
  199. >ATT<        Tone dial, used in dialing string
  200.  
  201.  ATU0<       Analog loop test originate.
  202.  ATU1<       Analog loop test answer.
  203.  ATU2<       Remote Digital Loop Back.
  204.  ATU3<       Digtal Loop Back.
  205.  
  206.  ATV0<       Terse result codes .  (digits)
  207. >ATV1<       Verbose result codes. (words)
  208.  
  209.  ATX0<       Basic result codes.    (CONNECT)
  210.  ATX1<       Extended result codes. (CONNECT 9600)
  211.  ATX2<       Wait for dialtone and say NO DIALTONE if there is not one and use X1.
  212.  ATX3<       Say BUSY if detected while dialing and use X1.
  213. >ATX4<       Combine X1,X2,X3,(NO DIALTONE,BUSY) if detected.
  214.  
  215.         This should be last parameter
  216.  AT&W0<      Parameters stored to memory, defaults come from memory.
  217.  AT&W1<      Parameters not stored to memory, use switches and factory defaults.
  218.  
  219.