Part 1 – AT Commands for All Universal IP Devices
Chapter 5 – TCP Commands for All
Set Commands
The id parameter is used for setting up profiles; Profile 1 and Profile 2. To view parameters including profile
settings, use AT#<cmd>=id or AT#VTCP=id or AT#VALL.
#DLEMODE – Set DLE Mode
Definition:
Syntax:
id:
Values:
Default:
#TCPPORT – Set TCP Port for Remote Peer
Definition:
Syntax:
id:
Values:
Default:
#TCPSERV – Set Address of Remote TCP Server
Definition:
Syntax:
id:
Values:
Default:
Universal IP AT Commands Reference Guide (Document S000457G)
Downloaded from
Elcodis.com
electronic components distributor
Universal IP Devices
When using socket TCP, the attached host has the choice whether or not to code the ETX
character.
Set Value:
AT#DLEMODE=id,<DEL Mode value>
View Value:
AT#DLEMODE=id or AT#VTCP=id, AT#VALL
Enter a Profile Setting: 1 or 2 {1,2}
Set the value that the Profile will use:
0
When DLEMODE is set to 0, no specific process is needed on [ETX] characters.
It means that it is not possible for a host to request an end of connection or to receive a clear
indication of the end of a connection from the TCP/IP stack.
1
When DLEMODE is set to 1, the [ETX] character means a request or an indication of end of
connection.
As a consequence, [ETX] characters that belong to the payload data must be sent by the
host on the serial port preceded by a DLE character. Similarly, ETX characters received by
the TCP/IP stack from the Internet are sent to the host through the serial port preceded by a
DLE character.
1
To exchange data over TCP, the TCP/IP stack software must know the port of the remote peer
used for the TCP session.
Set Value:
AT#TCPPORT=id,<TCP Port number for remote peer value>
View Value:
AT#TCPPORT=id or AT#VTCP=id, AT#VALL
Enter a Profile Setting: 1 or 2 {1,2}
Set the value that the Profile will use:
From 1 to 5 digits (each digit between 0 and 9 inclusive). Note that numbers above 65,535 are
illegal as the port identification fields are 16 bits long in the TCP header.
0
To exchange data over TCP, the TCP/IP stack software must know the address of the remote
TCP server (or host) that is to be used.
Set Value:
AT#TCPSERV=id,"<Address of remote TCP server value>"
View
Value: AT#TCPSERV=id or AT#VTCP=id, or AT#VALL
Enter a Profile Setting: 1 or 2 {1,2}
Set the value that the Profile will use:
32-bit number in dotted-decimal notation (i.e., xxx.xxx.xxx.xxx) or
Alphanumeric ASCII text string up to 120 characters if DNS is integrated.
None
Chapter 5 – TCP Commands
32
Need help?
Do you have a question about the SocketModem iCell MTSMC-G2-IP and is the answer not in the manual?