Multi-Tech Systems iCell GPRS (MTSMC-G2-IP Wireless Office Headset User Manual


 
Part 1 AT Commands for All Universal IP Devices Chapter 5 TCP AT Commands
Universal IP AT Commands Reference Guide (Document S000457K) 33
Chapter 5 – TCP AT Commands for All
Universal IP Devices
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.
#PERSISTENTSOCKET - Persistent Socket
Description: If enabled and the physical connection is present, a socket will be created automatically.
Note: This command is for all devices except the SocketEthernet IP (MT100SEM-IP).
Syntax: AT#PERSISTENTSOCKET=<Persistentsocket value>,<Result Codes>
AT#PERSISTENTSOCKET? Read or display the current setting (or AT#VALL).
Values: 0Persistent socket is disabled
1The TCP originate is started (#OTCP=1)
2The TCP listener is started (#LTCPSTART=1)
3The UDP originate is started (#OUDP=1)
4The UDP listener is started (#LUDPSTART=1)
5 The TCP originate is started (#OTCP=2)
6 The TCP originate is started (#LTCPSTART=2)
Result Codes: 0 All result codes will be suppressed during socket connection/disconnection
1 All result codes will be displayed during socket connection/disconnection
Defaults: 0,1
Example: AT#PERSISTENTSOCKET=1,0
#DLEMODESet DLE Mode
Description: When using socket TCP, the attached host has the choice whether or not to code the ETX
character.
Syntax: AT#DLEMODE=id,<DEL Mode value>
AT#DLEMODE=id Read or display the current setting (or AT#VTCP=id, AT#VALL).
id: Enter a Profile Setting: 1 or 2 {1,2}
Values: 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.
Default: 1