IBM P 615 series Service Manual page 465

Table of Contents

Advertisement

send "ATE0Q1\r"
ignore "0\r" timeout 1
done
condin:
send "AT&F*E0E0\r"
ignore "0\r" or "OK\r\n" timeout 2 # Ignore modem response.
send "AT#F0*Q2\r"
expect "0\r" or "OK\r\n" timeout 2 # Confirm commands successful
send "ATV0X0S0=2\r"
expect "0\r" timeout 2
done
waitcall:
ignore "2\r" timeout 1
expect "2\r" timeout 10
expect "1\r" timeout 60
done
page:
send "ATD%N,%R\r"
expect "0\r" or "3\r" timeout 30
delay 2
send "+++"
delay 2
send "ATH0\r"
expect "0\r" timeout 2
done
ripo:
send "AT&F*E0E0\r"
ignore "0\r" or "OK\r\n" timeout 2 # Ignore modem response.
send "AT#F0*Q2\r"
expect "0\r" or "OK\r\n" timeout 2 # Confirm successful command.
send "ATV0X0S0=0\r"
expect "0\r" timeout 2
done
error:
expect "8\r" or "7\r" or "4\r" or "3\r"
delay 2
done
# Initialize modem: Echo OFF,
# Disable responses.
# Reset to factory defaults.
# *E0=data compression disabled
# E0=echo disabled
# Trellis modulation disabled
# Retrain with adaptive rate
# Numeric response code
# AT compatible messages
# Answer on 2nd ring
# Confirm commands successful.
# Ignore first ring.
# Pick up second ring
# or timeout.
# Expect a connection response.
# %N = pager call center number
# commas=6sec wait time to
#
enter paging number.
# %R = return number
# Confirm successful command.
# Wait before hanging up.
# Assure command mode.
# Allow mode switching delay.
# Hang up.
# Confirm successful command.
# Reset to factory defaults.
# *E0=data compression disabled
# E0=echo disabled
# Trellis modulation disabled
# Retrain with adaptive rate
# Numeric response code
# AT compatible messages
# Auto-Answer disabled
# Confirm commands successful.
#
# Handle unexpected modem
# responses.
Appendix G. Modem Configurations
445

Advertisement

Table of Contents
loading

Table of Contents