IBM Eserver pSeries 670 User Manual page 187

Table of Contents

Advertisement

expect "0\r" timeout 60
delay 2
send "ATH0T\r"
expect "0\r" timeout 2
done
ripo:
send "AT&F1Q0T\r"
ignore "0\r" or "OK\r\n" timeout 2 # Ignore modem response.
send "ATE0T\r"
expect "0\r" or "OK\r\n" timeout 2 # Enable responses (Numeric),
send "ATQ0V0X0T\r"
expect "0\r" timeout 2
send "ATS0=0\r"
expect "0\r" timeout 2
send "AT&C1&D2&R1\r"
expect "0\r" timeout 2
done
error:
expect "8\r" or "7\r" or "6\r" or "4\r" or "3\r"
delay 2
done
# Add enough commas to wait for
# time to enter paging number.
# %R = paging number
# Confirm successful command.
# Wait before hanging up.
# Hang up.
# Confirm successful command.
# Reset modem. Select profile 1
# Initialize modem: Echo OFF,
# Limit response codes.
# Confirm commands successful.
# Set AutoAnswer OFF
# Confirm command successful.
# Detect carrier and DTR,
# Ignore RTS.
# Confirm command successful.
# RI Power On enabled.
# Handle unexpected modem
# responses.
Appendix E. Modem Configurations
171

Advertisement

Table of Contents
loading

Table of Contents