SUPRA MODEM REFERENCE



SUPRA(DEV)                      Devices                         SUPRA(DEV)

NAME
    supra - The supra modem

DESCRIPTION

    MISCELLANEOUS
    -------------
    a/          	- redo last command
    +++         	- return to modem cmd mode from live connection

-------------------------------
--- DIALING
-------------------------------

    DIAL COMMAND
    ------------
    atdt[tele#]
    ats11=75            - speed of tone dialing (in miliseconds. minimum 50)

    AUTO-DIAL PHONE NUMBERS
    -----------------------
    at&z0[tel#] 	- stores a tele# in memory #0
    at&z1[tel#] 	- stores a tele# in memory #1, etc
    atd\0       	- dial tele# in memory #0


    SHOW ALL SETTINGS
    -----------------
    at&v        	- show all hayes command settings

-------------------------------
--- ENTER/EXIT CONNECTION STATE
-------------------------------

    ANSWER/ORIGINATE MODES
    ----------------------
    ata        	- manual answer incoming call
    atd        	- originate connection. Assumes number already 
                     		dialed, remote has picked up

    ONLINE RETURN
    -------------
    ato         - go back online from +++
    ato1        - return to online state and retrain baud sync

    HANGUP
    ------
    ath0        - hang up if modem off hook (esp. after a +++)
    ath1        - pick up, but do nothing
    s38=[secs]  - delay before ath0 takes effect. Normally =20

    RESET
    -----
    atz         - reset modem to config profile 0
    at&f        - return all settings to factory settings
    at&w        - save current settings in non-volatile mem (?not sure)

    BREAK
    -----
    at\b        - send break
    at\b3       - send a 300ms break (number is x100ms)

-------------------------------
--- SPEAKER
-------------------------------
    LOUDNESS (SPEAKER)
    ------------------
    atl1        - low speaker volume
--> atl2        - medium speaker volume
    atl3        - loud speaker volume

    MONITOR (SPEAKER)
    -----------------
    atm         - speaker off
--> atm1        - speaker on until carrier detected
    atm2        - speaker always on
    atm3        - spkr on until carrier detected except during dialing

-------------------------------
--- MODEM RESPONSES
-------------------------------
    QUIET
    -----
--> atq0        - quiet off (enable messages)
    atq1        - quiet on  (disable messages)

    VERBAL
    ------
    atv0        - verbal off (numeric messages)
--> atv1        - verbal on (word messages)

    CONNECT CODES
    -------------
    atx[01234]  - various levels of word messages (default atx4)

    ECHO
    ----
    ate0        - no local echo
--> ate1        - local echo

-------------------------------
--- HARDWARE LINES
-------------------------------

    CTS/RTS
    -------
    at&r0       - ignore RTS in command mode, CTS follows RTS in data mode
    at&r1       - force CTS active

    DCD ASSERT - Modem tells computer when carrier detected
    -------------------------------------------------------
    at&c0       - force DCD high always
--> at&c1       - modem asserts DCD when carrier detected

    DSR ASSERT
    ----------
    at&s0       - NOT SUPPORTED
    at&s1       - NOT SUPPORTED

    DTR - Computer tells modem when it has the port open
    ----------------------------------------------------
    at&d0       - ignores DTR line from computer
    at&d1       - goto AT command state on DTR on->off change, (no hangup)
--> at&d2       - modem resets itself on DTR on->off change

-------------------------------
--- FLOW CONTROL
-------------------------------

    XON/XOFF FLOW CONTROL
    ---------------------
    at&k0       - disable local flow control
    at&k1       - ?
    at&k2       - ?
    at&k3       - RTS/CTS bi-directional hardware flow control
    at&k4       - XON/XOFF bidirectional software flow control
    at&k5       - uni-directional XON/XOFF flow control

-------------------------------
--- AUTO ANSWER
-------------------------------

    ats0=0      - no auto answer
    ats0=1      - auto-answer on first ring

-------------------------------
--- CARRIER
-------------------------------

    ats7=30     - time to wait for carrier detect before giving up
    ats9=6      - recognize carrier by .6 seconds of carrier tone
    ats10=10    - hangup after 1 second without carrier tone

    COMMON S REGISTERS
    ------------------
    ats0=0      - no auto answer
    ats0=1      - auto-answer on first ring

    ats7=30     - time to wait for carrier detect before giving up

    ats9=6      - recognize carrier by .6 seconds of carrier tone

    ats10=10    - hangup after 1 second without carrier tone

    ats11=75    - speed of tone dialing (in miliseconds. minimum 50)

    DIAL MODIFIERS
    --------------
    ,           - pause for 2 seconds (value of S7 register)
    ;           - return to command state after dialing
    !           - flash the hook for 1/2 second
    R           - reverse to 'answer' mode after dial (@ end of tele#)
    W           - wait up to 30 secs for 1 sec continuous dial tone
    @           - modem waits 30 secs for one or more ringbacks


RECOMMENDED SETTINGS

    FOR UNIX DIALUP MODEM WITH UUGETTY
    ----------------------------------
    at&f                - return to factory settings
    ats0=1              - auto answer on first ring
    ats2=127            - disable +++ escape (allows binary file xmission)
    atl3                - loud spkr volume
    atm1                - spkr on until carrier detect
    ate0                - echo off (so modem doesn't echo back to uugetty)
    atq1                - no messages
    at&c1               - DCD active on carrier detect, inactive on hangup
    at&d2               - modem resets when DTR dropped
    at&s1               - DSR active (when??)
    at&k0               - disable XON/XOFF flow control
    at&r0               - ignore RTS in cmd mode, CTS follows RTS in data mode
    at&w                - save these settings

    FOR UNIX DIALOUT
    ----------------
    at&f
    ats0=1              - auto answer on first ring
    ats2=127            - disable +++ escape (allows binary file xmission)
    atl3                - loud spkr volume
    atm1                - spkr on until carrier detect
    ate1                - echo on (so user can see at commands they type)
    atq0v1              - disable quiet/enable verbose messages
    at&c1               - DCD active on carrier detect, inactive on hangup
    at&s1               - DSR active (when??)
    at&d2               - modem resets when DTR dropped
    at&k0               - disable XON/XOFF flow control
    at&r0               - ignore RTS in cmd mode, CTS follows RTS in data mode
    at&w                - save these settings

ALL SUPRA S REGISTERS
---------------------

    [Undocumented: s13-s24, s27-s29, s31]

    s0=[#rings]     - AUTO ANSWER in number of rings, 0=disable autoanswer
    s1?             - RING COUNT (read only). Resets to 0 after 8 secs
    s2=[char]       - ESCAPE CODE [0-255]. Normally =45. =127 disables
    s3=[char]       - CARRIAGE RETURN character. Normally =10
    s4=[char]       - BACKSPACE character. Normally =8

    s6=[secs]       - DELAY BEFORE DIALING. Normally 2 seconds
    s7=[secs]       - CARRIER DETECT TIME; ie. after dialing. Normally 50 secs
    s8=[secs]       - COMMA DELAY; ie. commas in dial string. Normally 2 secs
    s9=[decisecs]   - VALID CARRIER detect time.  Normally =6 decisecs
    s10=[decisecs]  - CARRIER DROP detect time. Normally =14 decisecs
    s11=[centisecs] - DIAL SPEED. Both spacing and duration. Normally=95
    s12=[1/50secs]  - ESCAPE GUARD TIME. Time before+after escape code. =50

    s25=[centisecs] - DTR DETECT TIME. Shortest time to detect DTR. =5
    s26=[centisecs] - RTS DETECT TIME.. before modem enables CTS. =1
    s30=[decisecs]  - DISCONNECT / INACTIVE TIME. =0 disables this
    s32=[char]      - XON character. =19
    s33=[char]      - XOFF character. =19
    s36=[val]       - FALLBACK SEQUENCE. (ie. how to fallback if remote modem
                      can't handle desired line speed) Norm =7

                        0 = fallback: hangup if speed can't be matched
                        1 = fallback: establish Direct connection
                        3 = fallback: establish Normal connection
                        4 = fallback: establish MNP connection, else hangup
                        5 = fallback: establish MNP connection, else Direct
                        7 = fallback: establish MNP connection, else Normal

    s37=[val]       - DESIRED SPEED. Used if 'ATN0' is setup. Normally =0

                        0 - rate of last 'at' command, or 28.8
                        1 - 300 bps
                        5 - 1200 bps
                        6 - 2400 bps
                        8 - 4800 bps
                        9 - 9600 bps
                        10 - 14400 bps
                        12 - 7200 bps

    s38=[secs]      - DELAY BEFORE ath0 TAKES EFFECT. Normally =20

    [I YAM HERE - this is in progress]

ORIGIN
    Gregory Ercolano, Los Feliz California 08/28/93