Using the console port to connect serial devices
U
SER
G
UIDE
125
The outcome of each command is notified by a specific message. The message is a string always
closed by
CR-LF
('\r' '\n').
The AT command that are recognized are:
AT
Verifies the service status. If it works correctly, the answer is
OK.
ATI
Shows the router model information and the software release. The answer is followed by the string
OK.
ATE1
Enables the echo of the typed characters.
ATE0
Disables the echo of the typed characters.
ATDa.b.c.d,port,prot
The value of
a.b.c.d
is a valid IP address,
port
is a sequence of decimal number that identify the
port. The command opens a connection toward the specified address and port. If it succeed, the
answer will be
CONNECT
and the service goes in Data Mode. From now on all the characters received
are sent via TCP connection and viceversa. If the socket connection fails, the answer is
ERROR
.
Escape
+++
sequence
In the
Data Mode
, the sequence
+++
switches to the Command Mode.
ATH0
Disconnects the session. The answer is
DISCONNECTED
.
ATH1
Re-connects to the TCP (On Hook) session and switches to the
Data Mode
. The answer is
CONNECTED
.
ATZ
Resets the service.