
18
ESP-4 MI Serial Hub Installer/User Guide
Modem commands
Table 3.6 lists the supported AT modem commands. All other AT commands will be ignored or
cause an error, depending on the configured response code and verbose response settings. With the
exception of the ? and ATDT commands, multiple commands may be entered on the same line,
separated by a space. (If a question mark is entered on a line with other commands, it is interpreted
as AT?. If an ATDT command is followed by other commands on the same line, ATDT will be
recognized, but the remaining commands on the line will be ignored.)
Information about command mode follows the table.
Inactivity time-
out
Specifies the length of time before the TCP session is disconnected if there is no activity.
Valid values are 0-65535 seconds. A 0 value disables the inactivity time-out.
For example, a value of 60 indicates the session will be disconnected if there is no activity for
a period of 60 seconds.
The default value is 0 (disabled).
Table 3.6: Modem Commands
Command
Description
?
Help. Displays a list of valid AT commands.
AT?
Returns the value of register S0.
ATA
Instructs the ESP-4 MI hub to answer an incoming call.
ATDT<
ip
>[,|:]
<
socket>
Initiates a TCP connection to the specified host. A comma, period or nothing may be used to
separate IP address octets. TCP ports may be delimited by a comma or colon.
For example, the following commands are all valid:
ATDT 10,100,128,129:3001
ATDT 10.100.128.129,3001
ATDT 010100128129:3001
The IP address and socket number are required unless they were configured when the
modem emulation connection method was enabled; see
ATE
Enables (ATE0) or disables (ATE1) echo mode. The default value is ATE1.
This command is equivalent to the Echo option that is specified when configuring the modem
emulation connection method. If you issue this command with a value that differs from the
configured option value, the new value will override the configured value only for this
connection. Subsequent connections will use the configured Echo option value.
ATH
Disconnects the network session. The ESP-4 MI hub will close the active TCP session and
return the appropriate code (No Carrier or 3), depending on the ATV value.
ATO
Returns the ESP-4 MI hub to data mode. When the hub returns to data mode, it once again
listens for incoming data from the ESP-4 MI hub at the other end of the connection. The
remote hub will then send any data it may have stored.
Table 3.5: Modem Emulation Connection Method Configurable Items (Continued)
Item
Description
Содержание ESP-4 MI
Страница 8: ...vi ESP 4 MI Serial Hub Installer User Guide...
Страница 54: ...44 ESP 4 MI Serial Hub Installer User Guide...
Страница 60: ...50 ESP 4 MI Serial Hub Installer User Guide...
Страница 79: ......