User's Guide for MS-DOS Clients
340
Using Remote Access Service
Modems
The [default] section contains command strings shared in common by most
supported modems. The sections for individual modems contain command
strings that differ from those in the [default] section.
The following MODEMS.INF listing includes introductory comments, the
complete [default] section, and two sample sections for particular modems.
#-----------------------------------------------------------------
# Some normal commands used. Where the commands are different for a
# particular modem, the new/different commands are listed under the
# section for that specific modem.
#-----------------------------------------------------------------
# &F Recall factory settings
# L1 Low speaker volume
# &C1 Track presence of data carrier
# &D2 Hang up and disable autoanswer when DTR goes from ON to OFF
# Q0 Modem returns result codes
# V1 Verbose (English words) return codes
# E1 Enable character echo in command state
# S7 Wait time for carrier
# &Q0 Async connection
# S0 Answer on ring number
# S2 Escape character
#-----------------------------------------------------------------
[Default]
MAXBAUD = 2400
[Default.INIT]
[Default.INIT.COMMAND]
COMMAND = AT&F &C1 &D2 Q0 v1 S0=0 S2=128 S7=55*cr
[Default.INIT.RESPONSE]
OK = *cr*lfOK*cr*lf
ERROR = *cr*lfERROR*cr*lf
[Default.LISTEN]
[Default.LISTEN.COMMAND]
COMMAND = *cr*ATS0=1*cr
[Default.LISTEN.RESPONSE]
OK = *cr*lfOK*cr*lf
ERROR = *cr*lfERROR*cr*lf
[Default.LISTEN.RESPONSE]
LOOP = *cr*lfRING*cr*lf
CONNECT = *cr*lfCONNECT*blank*baudrate*cr*lf
NO_CARRIER = *cr*lfNO*blankCarrier*lf
[Default.DIAL]
[Default.DIAL.COMMAND]
COMMAND = ATDT*phonenumber*cr
[Default.DIAL.RESPONSE]
CONNECT = *cr*lf
CONNECT*blank*baudrate
CONNECT = *cr*lfPLEASE*blankSET*blankTO*blank*baudrate*cr*lf
CONNECT = *cr*lfCONNECT