4.4.2.4 Socket 1: Data connection
The purpose of this socket is to establish a data connection between the device serial terminal (COM) and a remote
device through a TCP/IP session. During this process the asynchronous characters received through the serial port
are sent to the other end through the TCP/IP socket. In the same way, data received from the remote end, through
the TCP/IP socket, are sent in asynchronous characters through the serial port.
Fig. 13:
Data connection
This socket is inactive when the device is configured to operate in Serial Line IP (SLIP) using the AT*Z18=2 com-
mand. In this mode the connection TCP socket with a remote device doesn’t exist, the IP packets are directly routed
to the serial ports and encapsulated with SLIP.
Syntax
AT*Z17=<sck_type>
Description
Allows you to configure the socket behavior from the point of view of client or serv-
er.
<sck_type> this can take the following values:
0 configured as server.
1 configured as client.
Example
AT*Z17= 0
OK
Syntax
AT*Z10=<port>
Description
This command allows you to configure the TCP/IP port number where the data
connection is established.
This command is only valid if the “*Z17=1” command indicates client mode.
<port> this can take values between 1 and 65535.
Example
AT*Z10=2134
OK
Syntax
AT*Z11=”<ip>”
Description
This command allows you to configure the IP address where the data connection
is established.
This command is only valid if the “AT*Z17=1” command indicates client mode.
Example
AT*Z11=”192.3.4.5”
OK
Syntax
AT*Z12=”<mask>”
Teldat S.A.
4 Configuration
REGESTA 1
29
Содержание REGESTA 1
Страница 47: ...8 3 Teldat S A Safety information REGESTA 1 43...