Multi-Tech Systems iCell GPRS (MTSMC-G2-IP Manuale Utente

Pagina di 119
Part 1 – AT Commands for All Universal IP Devices
   
Chapter 5 – TCP AT Commands 
Universal IP AT Commands Reference Guide (Document S000457K) 
37 
 
#TCPTELNETMODE – Enable/Disable TCP Client Telnet Protocol 
Description:
   Enables or disables the TCP Client Telnet protocol. 
 
Note:
  
Allows the TCP Client Telnet to handle a minimal telnet protocol. 
 
Note: 
This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP) 
 
Note: 
TCP Client raw mode requires the username and password each to be followed by 
a line feed character not just any key.
 
Syntax: 
AT#TCPTELNETMODE=<parameter1>, <parameter2> 
Values: 
parameter 1 
 
1 TCP profile 1 
2 TCP profile 2 
parameter 2 
0 Disable TCP Client Telnet protocol function 
1 Enable TCP Client Telnet protocol function with username and password login 
2 Enable TCP Client Telnet protocol function without username and password login 
3 Enable TCP Client raw mode function with username and password login 
Responses: 
\r\n#TCPTELNETMODE: VALUE1,VALUE2\r\n 
\r\nOK\r\n 
\r\nERROR\r\n 
Examples: 
send: AT#TCPTELNETMODE=1,1\r 
 
reply: \r\nOK\r\n 
send: AT#TCPTELNETMODE=1\r 
 
reply: \r\n#TCPTELNETMODE: 1,1\r\n 
 
reply: \r\nOK\r\n 
 
 
 
 
 
#TCPTELNETPW – Configure the TCP Client Telnet Protocol Login Password 
Description: 
  Configures the login password for the TCP Client Telnet protocol. 
 
Note:
 This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP)
 
Syntax: 
AT#TCPTELNETPW=<parameter1>, <parameter2> 
Values: 
parameter 1 
1 TCP profile 1 
2 TCP profile 2 
parameter 2  
64 character alphanumeric string 
Responses: 
\r\n#TCPTELNETPW: VALUE1,VALUE2\r\n 
\r\nOK\r\n 
\r\nERROR\r\n 
Examples:
 
send: AT#TCPTELNETPW=1,"PASSWORD"\r 
 
reply: \r\nOK\r\n 
send: AT#TCPTELNETPW=1\r 
 
reply: \r\n#TCPTELNETPW: 1,"PASSWORD"\r\n 
 
reply: \r\nOK\r\n