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) 38
#TCPTELNETUNSet the TCP Client Telnet Protocol User Name
Description: Configure the TCP Client Telnet protocol login user name.
Note: This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP)
Syntax: AT#TCPTELNETUN=<parameter1>, <parameter2>
Values: parameter 1
1 TCP profile 1
2 TCP profile 2
parameter 2
64 character alphanumeric string
Responses: \r\n#TCPTELNETUN: VALUE1,VALUE2\r\n
\r\nOK\r\n
\r\nERROR\r\n
Examples:
send: AT#TCPTELNETUN=1,"USER"\r
reply: \r\nOK\r\n
send: AT#TCPTELNETUN=1
reply: \r\n#TCPTELNETUN: 1,"USER"\r\n
reply: \r\nOK\r\n
#LTCPSTARTOpen Listening Mode
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>. Similarly, each <ETX> character present in the payload data of the
TCP frame will be coded by the TCP/IP stack on the serial port as <DLE><ETX>. Each <DLE>
character will be coded as <DLE><DLE>. The attached host must then decode the TCP socket
flow to remove these escape characters.
If the DLEMODE parameter is set to 0, the TCP/IP stack will never close the TCP connection
(unless an error occurs).
Syntax: AT#LTCPSTART=id
id: Enter a Profile Setting: 1 or 2 {1,2}
Values: DLEMODE
TCPPORT
TCPSERV
TCPTXDELAY