home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / MODEMS / MODEM / MDMHNTS.DZC / MDMHNTS.DOC
Text File  |  2000-06-30  |  16KB  |  369 lines

  1.                   Modem Hints
  2.  
  3.      So you finally decided to get a fast modem! Maybe you got it to
  4.     save costs on the phone bill or maybe you just got tired of 300 baud.
  5.     Well now there are other things you need to do to insure that you can
  6.     enjoy the higher speed.
  7.  
  8.      Here are some hints and then a listing of the AT Hayes command set
  9.     with info on each command which may help you get the most out the new
  10.     modem. Some of the things I will be talking about may only apply to the
  11.     Supra Modem 2400 but, I think, most will apply to all modems. I hope it
  12.     will help you with the new and strange modem. Let's get started!!
  13.  
  14.      The first thing to do is to load your favorite terminal program
  15.     and start to make changes to it. What do we look for?? Welll first
  16.     let's make sure the program and new modem are compatabile. Go to the
  17.     modem parameters spot  in your program and look to see if your modem is
  18.     listed. If it is you are in great shape, but if it isn't don't despair.
  19.     See if Hayes, Hayes Smartmodem and Compatatibles is listed. In most
  20.     cases the higher speed modem is partly or all the way compatabile with
  21.     the Hayes command set. If you don't find your exact modem listed then
  22.     select the Hayes or Hayes Smartmodem to be the default.
  23.  
  24.      Next look and see if you have a Carrier Phase default listing. It
  25.     may say High or Low or (+) Positive or (-) Negative. Select High or (+)
  26.     Positive as this is what Hayes type modems need. If you are using a
  27.     Commodore 1670 select (-) or Low as the Commodore always has to be
  28.     different as you probably already know.
  29.  
  30.      Check the Carrier Wait and see if it is 30 seconds as this is
  31.     usually what Hayes type modems have as a default. This can be changed
  32.     as you will see as we go through the different commands. It really is
  33.     no big thing except when you call long distance.
  34.  
  35.      I suggest that you save these changes as a default at this time
  36.     and then turn on your modem. We will start going through some of the
  37.     changes that may be needed on it next.
  38.  
  39.      Now let's see what is going on with the modem and your terminal
  40.     program talking with each other.
  41.  
  42.      If you have a command line at the top of your screen when in
  43.     terminal mode check to see if you have the word CARRIER lit up or
  44.     flashing. (sometimes it's at the bottom of the screen too.) If you do
  45.     in most cases you will want to change the carrier detect command in the
  46.     modem. You do this by using the following command in terminal mode. AT
  47.     &C1  This causes the modem's DCD circuit to track the carrier from the
  48.     BBS or remote modem and switch on when the carrier is correct for your
  49.     modem. By the way, you can usually make this permanent by typing: AT
  50.     &C1 &W . Please note that I used all caps. You can use all caps or all
  51.     lower case. For example, at &c1 &w is correct also. At &c1 &W is not
  52.     correct and will give an error.
  53.  
  54.      Here are some other commans which you may want to change.
  55.      1. AT L - This command selects low speaker volume. If the speaker
  56.     drives you out of the  house change this one. You can select L2 for
  57.     medium volume or L3 for high volume. L2 is usually default but on the
  58.     Supra it was to loud.
  59.      2. AT V - Causes result codes to be displayed as numbers. I didn't
  60.     like this so I selected AT V1 which displayes them as words. Now I can
  61.     see that I am connected and at 2400 baud plus all other commands work
  62.     with something that I can understand right away.
  63.      3. AT Q1 - If after making sure everything is working as you wish
  64.     and you no longer want to see the result codes then use this command.
  65.     If you are not happy with this then use AT Q to get them back.
  66.  
  67.      You can change many other commands. The AT Hayes Commands listed
  68.     below will give you many of them. Check your manual for other possible
  69.     changes.
  70.  
  71.      You can put all of these commands on one line if you wish. Here is
  72.     an example. AT &C1 V1 L &W    If your modem has memory for changes like
  73.     this you can (&W) write it to that memory and it should default to
  74.     those commands on your next power-up. This is very handy and saves a
  75.     lot of time and frustration.
  76.  
  77.      Let's take a look at several of the S Registers that are of
  78.     interest to us. S7, S8 and S10 are the most important and may need to
  79.     be changed.
  80.  
  81.      Register S7 is the one that  that will hang up if a carrier is not
  82.     detected is a set amount of time. Default is usually 30 seconds. I have
  83.     left mine at that setting but you can set it lower if you wish. Some
  84.     terminal programs will do that for you.
  85.  
  86.      Register S8 sets the delay a comma in the phone number will cause.
  87.     Default is usually 2 seconds. Change it if you need to. I haven't
  88.     changed it at all. You can always put in two comms if you need more
  89.     delay.
  90.  
  91.      Register S10 is the one I change if the phone line is noisy. It is
  92.     normally set  for 1.4 seconds (14) but I have changed it to as much as
  93.     10 seconds (100) if the line is bad. Please try it at the default first
  94.     and change it only if you need to. If you change it to 255 then it will
  95.     not drop out at all. I have never had to do that.
  96.  
  97.      Some terminal programs have a high and low baud adjust. If yours
  98.     does then here are some hints.
  99.      1. Adjust only the Lo or the low byte.
  100.      2. Write down the default so you can get back to it if needed.
  101.      3. I highly recommend a terminal program that has this function if
  102.     you are going to operate at 2400 baud. BobsTermPro and Ultraterm does.
  103.     I understand some others do as well.
  104.  
  105.      This function is a fine tune adjustment due to the fact that the
  106.     timing of the Commodore is done by software and each is just a little
  107.     different. Here is how Genie and BobsTermPro suggests you do it:
  108.      1. Sign on to a BBS and find a large text file to look at. The
  109.     bigger the better.
  110.      2. Check to see if you have any garbled characters or lines.
  111.      3. If you do have bad character or lines go to the baud adjust and
  112.     set the number (mine is 113 at 2400 baud) about 5 higher (118) or lower
  113.     (108) and see if the file looks better. If not-go the other direction
  114.     and see if it improves. Continue doing this until the file comes in to
  115.     your terminal as clean as possible. You can also go up until the text
  116.     comes in messy and write down the number. Then go down until the same
  117.     thing happens. You can then find the middle point and use it as the
  118.     default setting. This should give you the best setting for up and down
  119.     loads. DO NOT ADJUST THE HIGH BYTE!!!! The high byte adjust is a very
  120.     coarse adjustment and can really get you out in left field.
  121.  
  122.      Listed below is the AT Hayes Command set as of 1986. It was of
  123.     great help to me when I set the Supra Modem 2400 up. I hope it will
  124.     help you also. I will try to give a description of the things I did to
  125.     the phone lines and the computer on another file.
  126.  
  127.                               Robert Willsey
  128.                               Box 10
  129.                               Martha, OK 73556
  130.  
  131.     P.S. You are welcome to pass this info on to anyone you wish. I place
  132.     my part of it in the public domain and the AT Hayes Command Set is
  133.     already in the public domain.
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.                 AT Hayes Command Set
  182.  
  183.  
  184. +----------------------------------------------+
  185. +  Details of the "Hayes" AT Command Language  +
  186. +----------------------------------------------+
  187. Compiled by Tom Fernandez - June 30, 1986
  188. Please bring any corrections/additions/deletions
  189. to the attention of the writer.
  190. GEnie EMail Address       - TFERNANDEZ
  191. MacInternational- Node #2  - SYSOP
  192. Call MacInternational #2 - 300/1200/2400 - 24 Hrs. - (815) 965-5606
  193. ------------------------------------------------------------------------
  194. AT Command     Function                 Default Setting
  195. ------------------------------------------------------------------------
  196.     A           Answer Mode
  197.  
  198.     A/           Reexcute the last command.
  199.  
  200.     AT           Attention - must preceed all commands
  201.            except A/ and +++
  202.  
  203.     Cn           Transmitter ON/OFF
  204.            C0 = Transmitter OFF (Receive only)
  205.            C1 = Transmitter ON                   C1
  206.  
  207.     D           Dial the number that follows and go to
  208.            originate mode.
  209.  
  210.     Options that may be used with D:
  211.  
  212.     P      Pulse Dial                    P
  213.     T      Touch Tone Dial
  214.     R      Reverse Frequency
  215.     W      Wait for second dial tone
  216.     @      Wait for an answer
  217.     ,      (Comma) Pause for 2 seconds
  218.     ;      After dialing, return to cammand state while
  219.            On-Line
  220.     "...   Dial the letters that follow
  221.     !      Transfer call (flash switch hook)
  222.     En           Command mode LOCAL echo ON/OFF
  223.            E0 = Echo OFF
  224.            E1 = Echo ON
  225.     Fn           Online Local echo ON/OFF
  226.            F0 = Local echo ON
  227.            F1 = Local echo OFF                F1
  228.     Hn           ON/OFF Hook control
  229.            H0 = Hang up (go on hook)
  230.            H1 = Go off hook
  231.     In           Inquiry
  232.     I0     Return product code
  233.     I1     Return checksum
  234.     I2     Run memory (RAM) test
  235.     I3     Return call duration or real time (see Kn)
  236.     I4     Return current modem settings
  237.     Kn           Modem clock operation
  238.            K0 = Modem time call duration (see ATI3)
  239.            K1 = sets modem clock to real-time. Modem returns
  240.             actual time with ATI3.
  241.     Mn           Monitor speaker control
  242.     M0     Speaker always OFF
  243.     M1     Speaker ON until carrier is established        M1
  244.     M2     Speaker always ON
  245.     M3     Speaker ON after last digit dialed and until
  246.            carrier is established.
  247.     O           Return on-line after screen execution
  248.     Qn           Quiet mode: modem result messages sent to screen.
  249.            Q0 = Result messages sent            Q0
  250.            Q1 = Result messages suppressed
  251.     Sr=n       Set Register commands: n-value must a decimal
  252.            number between 0 and 255. See S Register listing below.
  253.     Sr?        Query register "r"
  254.     Vn           Verbal/Numeric mode setting
  255.            V0 = Numeric results
  256.            V1 = Verbal results                V2
  257.     Xn           Extended result codes, see below.
  258.     Z           Reset modem software & memory to default value
  259.     +++        Escape code sequence.
  260.     >           Repeat command.
  261.     $           Help command summary request
  262.     D$           Help Dial command summary request.
  263.     S$           Help S-register summary request.
  264.     .           Dot character   (Morse Code)
  265.     -           Dash character  (Morse Code)
  266.     /           Inter-character space  (Morse Code)
  267. ==============================================================================
  268. ==============================================================================
  269.  
  270. +-------------------------------+
  271. +  Functions & Features of the    +
  272. +     S-Register commands    +
  273. +-------------------------------+
  274. Values in prarenthesis are the ASCII Character.
  275. Numeric values are the ASCII Decimal Code value.
  276. ------------------------------------------------------------------------------
  277. S0    Sets number of rings before auto-answer
  278.     Default value is usually 1.
  279. S1    Counts & stores the number of rings from an incoming call.
  280. S2    Sets the escape code sequence.    The default is 43.  (+)
  281. S3    Sets the ASCII character recognized as a Carriage Return <CR>.
  282.     The default value is usually 13.
  283. S4    Sets the ASCII character recognized as a Line Feed.
  284.     The default value is usually 10.
  285. S5    Sets the ASCII character recognized as a Backspace.
  286.     The default value is usually 8.
  287. S6    Sets number of seconds modem will wait for a dial tone.
  288.     The default value is 2 seconds.
  289. S7    Sets the number of seconds the modem is to wait for a carrier signal
  290.     after dialing, before it sends the NO CARRIER message.
  291.     The default value is 30 seconds.
  292. S8    Sets the duration of the pause for the Comma (,) and the Repeat (>)
  293.     commands.  The default value is 2 seconds.
  294. S9    Sets the required duration, in tenths of a second, that the modem
  295.     modems carrier signal must be present before the local modem will
  296.     recognize it.  (Carrier Detect time).  The default value is 0.6 seconds.
  297. S10    Sets the duration, in tenths of a second, that the modem waits after
  298.     loss of carrier before hanging up.  The default is 0.7 seconds.
  299.  
  300.     You can adjust this value upwards to defeat Call Waiting.
  301. S11    Sets the duration and spacing of Touch-Tones during dialing.  The
  302.     default value is 70 milliseconds.
  303. S12    Sets the duration, in 50ths of a second, of the guard time required
  304.     in the escape code sequence.  The default value is 1 second.
  305. S13    Undefined and unallocated.
  306. S14    Sets the modem product result code.  The default is 24n.
  307.     To use Smartcom 2.0 with a 2400 baud modem, try resetting this
  308.     value to 120.  Use S14 to re-set the the I0 request as follows.
  309.     1)  Issue an ATS14=120 <CR> when you load Smartcom 2.0
  310.     2)  Exit Smartcom
  311.     3)  Reenter Smartcom.
  312.     Smartcom 2.1 and later versions work properly with 2400 baud modems.
  313. S15    Undefined and unallocated.
  314. S16    Modem self testing.  The default value is 0.
  315.     0 = Data mode - no testing
  316.     1 = Analog loopback test
  317.     2 = Dial test
  318.     3 = Undefined and unallocated
  319.     4 = Test pattern
  320.     5 = Analog loopback and Test pattern.
  321.     You can perform these tests at either 1200 or 2400 baud.
  322. HOW TO CHANGE AN S-REGISTER VALUE
  323. ---------------------------------
  324. You may change any S-Register value.
  325. For example...To change the default value of S-Register #7 to decrease the
  326. amount of the the modem waits for a carrier detect before issuing the NO
  327. CARRIER command, you would first query the default setting, and then issue
  328. a new setting.
  329. 1)  Type the following string    ATS7=?
  330. 2)  Modem will answer with a result, usually 30 (seconds).
  331. 3)  Type the following string    ATS7=15
  332. 4)  Modem will answer OK
  333. What you have just done will make the modem issue the NO CARRIER command if
  334. carrier is not received within 15 seconds, instead of 30 seconds.  This is
  335. helpful in dialing busy bulletin board systems.
  336. ===============================================================================
  337. ===============================================================================
  338. +------------------------------+
  339. +   The "X" Command Set of     +
  340. +   Extended Response Codes    +
  341. +------------------------------+
  342. ==============================================================================
  343. RESULT CODE                      XO   X1    X2   X3   X4   X5   X6
  344. ==============================================================================
  345.  0-OK                          X    X    X    X      X    X    X
  346.  1-CONNECT                      X    X    X    X      X    X    X
  347.  2-RING                       X    X    X    X      X    X    X
  348.  3-NO CARRIER                      X    X    X    X      X    X    X
  349.  4-ERROR                      X    X    X    X      X    X    X
  350.  5-CONNECT 1200                    X    X    X      X    X    X
  351.  6-NO DIAL TONE                     X      X        X
  352.  7-BUSY                              X      X    X    X
  353.  8-NO ANSWER (Req. @; replaces NO CARRIER)             X      X    X    X
  354.  9-RESERVED FOR FUTURE USE
  355. 10-CONNECT 2400                    X    X    X      X    X    X
  356. 11-RINGING                                   X    X
  357. 12-VOICE                                   X    X
  358. -----------------------------------------------------------------------------
  359. FUNCTIONS
  360. -----------------------------------------------------------------------------
  361.  
  362.  Adaptive Dialing                    X    X      X    X    X
  363.  Wait for second dial tone  (W)                  X      X    X    X
  364.  Wait for ANSWER (@)                         X      X    X    X
  365.  Fast Dial                        X      X    X    X
  366. =============================================================================
  367. =============================================================================
  368.  
  369.