SPONSORED LINKS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Megahertz modem commands




Due to popular demand, here are the commands that I use to initialize
my Megahertz XJ1144.  This was adapted from the setup of a Hayes Ultra
14.4 modem.  Note that some of these settings are already the default
for the Megahertz, but I left them in anyway.  Also, you should set
your software bit rate to 57600, this is the maximum speed of the
Megahertz modem with compression.

--andy


; Initialize the modem.
;
; &D2    Hangup if DTR drops, so Kermit's HANGUP command will work
; E1     Commands are to be echoed
; W1     Enable dialing progress messages
; X4     Enable full range of result codes
; S95=46 Enables reporting of error control, compression, and protocol
;
AT &D2 E1 W1 X4 S95=46
;
; S37=11 Begin modulation negotiations at V.32bis = 14400 bps
; N1     Negotiate highest common modulation
;
AT S37=11 N1
;
; Enable hardware flow control
;
AT &K3
;
; Specify treatment of BREAK signal
; Make modem pass BREAK transparently
;
AT S82=128
;
; Enable error correction and compression
;
; &Q5       Enable error correction
; S36=7     LAPM (V.42) => MNP => ASB (automatic speed buffering)
; S38=1     When DTR from PC goes off, hang up after 1 second
; S46=2     Enable compression
; S48=7     EC and compression negotiation enabled
;
AT &Q5 S36=7 S38=1 S46=2 S48=7