Serial Port Configuration
55
Model 2285 Getting Started Guide
4 • Serial port configuration
By using the modem emulation mode of the Model 2285, users can have their serial device connected to the
Ethernet network easily, which is cheaper than using phone line modem.
Table 6
is a summarized AT com-
mand table which is supported by the Model 2285.
Figure 26
on page 57 shows the typical case of the serial
port command flow when ATDA command is used to connect to the Ethernet network.
Table 6. AT commands supported in the Model 2285
Command
Internal Operation
Response
a
(Verbose Code)
+++
Return to command input mode
None
ATD(T)
[remote IP or domain
name]:[remote port]
[CR][LF]
or
ATD(T)
[remote IP][remote port]
[CR][LF]
Set TCP mode as TCP client mode. And then, try
to connect to the specified remote host.
e.g. atdt192.168.1.9:1002
e.g. atdt1921680010091002
Connect to IP address, 192.168.1.9,
port 1002
(Port Number is permitted from 1 to 65534)
e.g. atdtps.patton.com:1002
Connect to domain address ps.patton.com,
port 1002
If successful,
CONNECT [CR][LF]
If failure in connection,
NO CARRIER [CR][LF]
If other errors,
ERROR [CR][LF]
AT or ATZ [CR][LF]
Initialize TCP socket and serial port
If successful,
OK [CR][LF]
If failure,
ERROR [CR][LF]
If successful,
OK [CR][LF]
If failure,
ERROR [CR][LF]
ATA/ [CR][LF]
Repeat last command
ATA
[Local port number]
[CR][LF]
Set TCP mode as TCP server mode. And then,
set TCP state as [Listen].
-. If the command parameter, Local port number
is not specified, the TCP session parameter,
Local Port is used instead.
ATEn [CR][LF]
E, E0: Disable echo
E1: Enable echo
ATOn [CR][LF]
O, O0: Turn to data mode
ATQn [CR][LF]
Q, Q0: Response display on (default)
Q1: Response display off
ATVn [CR][LF]
V, V0: Response = <numeric code> [CR][LF]
V1 (default): Response = <verbose code>
[CR][LF]
AT&Dn [CR][LF]
D, D0: ignore DTR(PC) signal
D2(default): disconnect TCP session
AT&Fn [CR][LF]
F, F0, F1: Restore default modem settings
AT&Kn [CR][LF]
K, K0: No flow control
K3: RTS/CTS flow control (default)
K4: Xon/Xoff (if supported)
AT&Sn [CR][LF]
S, S0: DSR(PC) always high
S1: DSR(PC) shows TCP connection