![Digi One TS W Скачать руководство пользователя страница 35](http://html.mh-extra.com/html/digi/one-ts-w/one-ts-w_user-manual_2496472035.webp)
Chapter 9
Modem Emulation
35
Originating, Answering, and Disconnecting Calls
In the following table, an application requests a TCP session with the Digi
device server. The table displays the responses of the Digi device server
and application as they negotiate a TCP connection.
In the following table, the Digi device server receives a request for a
connection.
Originating Calls
To send data to a Digi device server, enter the following information for
your application replacing the telephone number with the Digi device
server’s IP address and TCP port number. Enter the following command:
ATDT ipaddress:tcp_port#
an example is
ATDT 146.135.13.5:
5000
1
Answering Calls
The Digi device server listens on a pre-defined TCP port to receive data.
When the Digi device server receives a call notification (RING) through a
serial port to begin a TCP connection, it needs to reply with an ATA or a
pre-configured Auto-Answer to answer the call.
Note:
The TCP ports assigned to the serial ports are as follows:
Serial port 1 listens on TCP port 50001
Serial port 2 listens on TCP port 50002
Serial port 3 listens on TCP port 50003
Serial port 4 listens on TCP port 50004
Disconnecting Calls
The TCP connection disconnects by either dropping the DTR signal on the
serial port or sending the escape sequence <P>+++<P> to the Digi device
Application AT Com-
mand
Digi Device Server Response
Notes
AT&F
OK.
AT command request to restore defaults to factory set-
tings-Digi device server responds OK.
ATDT ipaddress:TCPport#
Receives request to start a
TCP session. CONNECT
115200.
Request to start TCP session with IP address and TCP
port number of the Digi device server-Digi device server
starts a TCP session
<P>+++<P>
OK
Escape sequence is sent <P> is Pause in seconds with
“+++” being the escape sequence in ASCII characters -
Digi device server switches from AT command to data
mode
ATH
NO CARRIER response sent
Disconnect AT command is sent-Digi device server
responds with NO CARRIER
AT Command
Digi Device Server Response
Notes
RING
The Digi device server sends a Call Notification
ATA (or ATS0=n)
CONNECT 115200
Manual (ATA) or Auto Answer (ATS0=n) response-the
Digi device server sends a CONNECT message when
the TCP session is started
NO CARRIER
The Digi device server sends a NO CARRIER message
when the remote disconnects
Содержание One TS W
Страница 1: ...9000329_B Digi TS W Family User Guide ...
Страница 8: ...8 Contents ...
Страница 18: ...18 Chapter 4 Configuring Wireless ...
Страница 24: ...24 Chapter 6 Setting Up RealPort ...
Страница 32: ...32 Chapter 8 Configuring PPP ...
Страница 48: ...48 Chapter 9 Modem Emulation ...
Страница 52: ...52 Chapter 10 Configuring Autoconnection ...
Страница 56: ...56 Chapter 11 Configuring IP Routing ...
Страница 62: ...62 Chapter 12 Configuring Security Features ...
Страница 74: ...74 Chapter 17 Managing the OS and Configuration ...
Страница 78: ...78 Chapter 18 Configuring Power Over the Serial Ports ...
Страница 84: ...84 Chapter 19 Reference and Certifications ...