Aten SN0116CO [176/203] Virtual modem details

Aten SN0116CO [176/203] Virtual modem details
Serial Console Server User Manual
160
Virtual Modem Details
The Serial Console Server’s Virtual Modem function emulates a hardware
modem to provide high speed serial modem functionality over an Ethernet
LAN or WAN using TCP/IP rather than over slower, less-reliable, telephone
lines.
AT Command Set Support
The Serial Console Server supports a subset of the standard Hayes command
set, as well as some extended commands, as shown in the following table:
Command Operation Response
+++ Return to command mode. The escape character
can be changed by modifying the S2 register.
none
A/ Repeat the last command string If successful: OK[CR][LF]
If failure: ERROR[CR][LF]
ATA[CR] Answer mode. Allow virtual modem to listen for a
TCP connection on the provided listen port: 5301.
If successful: OK[CR][LF]
If failure: ERROR[CR][LF]
ATD(T)
Remote
IP:Remote
Port[CR]
Try to establish a TCP connection and connect to
the specified remote host.
e.g. ATDT10.0.0.72:50001
Note: The SN3101 accepts T and P additions to
the ATD command, but ignores them.
If successful: CONNECT[CR][LF]
If connection failure:
NO CARRIER[CR][CF]
If other error:
ERROR[CR][LF]
ATEn[CR] Where n represents a numeric character (0 or 1.):
E0: disable command echo
E1: enable command echo
If successful: OK[CR][LF]
If failure: ERROR[CR][LF]
ATH[CR] Hang up current TCP connection if a connection is
active.
Note: ATH, ATH0, and ATH1 all act the same.
If successful: OK[CR][LF]
If failure: ERROR[CR][LF]
ATIn[CR] Inquiry command. (Where n represents a numeric
character; 0 or 1.):
E0: Display ATEN International Co. Ltd.
E1: Display Serial Console Server
If successful: OK[CR][LF]
If failure: ERROR[CR][LF]
ATOn[CR] Return to on-line data mode. (Where n represents a
numeric character; 0 or 1.)
If the modem is in the on-line command mode, the
modem enters on-line data mode. If the modem is
in the off-line command mode (no TCP connection
established), an ERROR is returned.
O0, O1: If there is an active connection, switch the
modem to data mode.
If an active TCP connection:
OK[CR][LF]
Otherwise:
ERROR[CR][LF]
ATQn[CR] Result code control command. (Where n
represents a numeric character; 0 or 1.)
Q0: Enable result code to DTE (default)
Q1: Disable result code to DTE.
If successful: OK[CR][LF]
If failure: ERROR[CR][LF]
ATSn?[CR] Reports the value of the S register. (Where n is the
register’s number.)
If successful: OK[CR][LF]
If failure: ERROR[CR][LF]
ATSn=v[CR] Sets the S register’s value. (Where n is the
register’s number; and v is the S register value.)
If successful: OK[CR][LF]
If failure: ERROR[CR][LF]
ATVn[CR] Result code return type. (Where n represents a
numeric character; 0 or 1.)
V0: Response is: <numeric code>[CR][LF]
V1: Response is: <verbal description>[CR][LF]
If successful: OK[CR][LF]
If failure: ERROR[CR][LF]

Содержание

Скачать