Bull Cedoc ESCALA PL 3200R Guide De L'utilisateur page 185

Table des Matières

Publicité

expect "0\r" or "OK\r\n" timeout 2
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
send "AT#F0*Q2\r"
expect "0\r" or "OK\r\n" timeout 2
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
# Retrain with adaptive rate
# Confirm commands successful
# 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
# Ignore modem response.
# Trellis modulation disabled
# Retrain with adaptive rate
# Confirm successful command.
# Numeric response code
# AT compatible messages
# Auto–Answer disabled
# Confirm commands successful.
#
# Handle unexpected modem
#
responses.
Configurations des modems
C-11

Publicité

Table des Matières
loading

Table des Matières