Tcplisten - Open A Listening Tcp Connection; Tcpstop - Close Tcp Listening Mode; Tcpopen - Open A Tcp Connection; Tcp? - Tcp Module Configuration - Multitech SocketWireless MT800SWM Reference Manual

Multi-tech mt800swm server: reference guide
Table of Contents

Advertisement

#TCPLISTEN – Open a Listening TCP Connection
Description:
This command, sent by the attached host, directs the TCP/IP stack to open a listening
TCP connection on the specified TCP port. Once an IP link is established, the attached
host can open a listening TCP socket at any time (except when the TCP/IP stack
software is already in a process using TCP resources).
The TCP connection will be active upon reception of a TCP connection request sent by a
remote allowed TCP peer (TCPSERV) on the appropriate TCP port (TCPPORT).
Once opened, this TCP connection may be closed by the remote TCP peer or by the
attached host by sending an ETX character on the serial port (depending on the
DLEMODE parameter).
Notes:
The LTCP command can be aborted before an incoming TCP request has been received
by issuing an <ETX> character on the serial port.
If the DLEMODE parameter is set to 1, the TCP/IP stack will interpret an <ETX>
character only as a close request if a <DLE> character does not precede it. As a
consequence, the attached host must send <ETX> characters preceded by <DLE>
characters, and it must also code <DLE> characters in <DLE><DLE>.
Syntax:
Set Value: AT#TCPLISTEN=<TCP Port Number>
Values:
TCP Port Number
Default
Value: None
#TCPSTOP – Close TCP Listening Mode
Description:
This command directs the TCP/IP stack to close TCP listening mode (previously
launched by the AT#TCPLISTEN command.
Syntax:
Set Value: AT#TCPSTOP
Values:
TCP Port Number
Default
Value: None
#TCPOPEN – Open a TCP Connection
Description:
This command sent by the attached host directs the TCP/IP stack to open a TCP
connection to the specified TCP server. Once an IP link is established, the attached host
can open a TCP connection at any time (except when the TCP/IP stack software is
already in a process using TCP resources). This TCP connection may be closed by the
remote TCP server or by the attached host via sending an ETX character on the serial
port (depending on the DLEMODE parameter).
Syntax:
Set Value: AT#TCPOPEN=<IP Address, TCP Port Number>
Values:
xxx.xxx.xxx.xxx (format of IP Address)
TCP Port Number
Default
Value: None
#TCP? – TCP Module Configuration
Description:
This command directs the TCP/IP stack to display all the AT# parameters related to the
TCP socket
Syntax:
View Values: AT#TCP?
Values:
DLEMODE
TCPPORT
TCPSERV
Default
Value: None
Multi-Tech Systems, Inc. AT Commands for the MT800SWM & MTS2WFA (S000425D)
configuration.figuration
TCPTXDELAY
TCPAUTOCONNECT
Chapter 5 – TCP Commands
21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Multiconnect mts2wfa

Table of Contents