# modem - contains modem commands and such
# A '#' in the first column denotes a comment

# The name of the serial device
SERNAME serial.device

# The Unit number of the serial device
SERUNIT 0

# Hang up by dropping DTR
# If you are using anything except the Amiga's internal serial port,
# you should remove this line to hang up by a +++, ATH combination
DTR_HANGUP

# Modem instructions at startup & reset (determine the modem's settings)
# Turn off auto answer mode (S0 = 0)
# Modem doesn't worry about waiting for a carrier (S7 = 0)
# Normal command set
# E0 turns off command mode echo
# Detect carrier drop immediately (S10 = 0)
# Minimize escape sequence guard time (S10 = 0)
# Disable escape sequence (S2 = 255) <--- Remove this if you didn't
#                                         select DTR_HANGUP
SET ATE0S0=0S2=255S7=0S12=1
#SET ATE0S0=0S7=0S12=1

# Escape sequence
ESCAPE +++

# Hangup command
HANGUP ATH

# Command to pick up the phone
PICKUP ATA

# Default baud rate
DEFBAUD 1200

# The following are connect messages for various baud rates
# of the form         BAUD <rate> <message>
# Where <rate> is the baud rate and <message> is the message your
# modem sends out when a connection is made at that baud rate

BAUD 300 CONNECT
BAUD 1200 CONNECT 1200
BAUD 2400 CONNECT 2400

# Phone ringing message
RINGMSG RING

# Number of rings before answering
NUMRINGS 1

# No carrier message
NOCD NO CARRIER

# The number of seconds to wait from phone pickup to carrier
WAITCONNECT 15
