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

Pagina di 119
Part 1 – AT Commands for All Universal IP Devices 
Chapter 1 – General AT Commands for All Universal IP Devices 
Universal IP AT Commands Reference Guide (Document S000457K) 
14 
 
#LEGACYMODE – Legacy Mode Enable/Disable 
About Legacy Mode:
 
Note:
 This command is for all devices except the SocketEthernet IP (MT100SEM-IP)  
Legacy mode allows for smoother transition to TCP/IP based connectivity from standard analog 
interface connections. 
When #LEGACYMODE=1, the stack will be in pseudo legacy mode where the commands &S, 
&D, &C, A, D, S0, E, V operate independently of the stack.  The commands will be saved to a 
different NVRAM location and will not affect the IP stack once legacy mode has been exited.  
Once in legacy mode, the user can configure the #TCP values and issue an ATD command to 
make a connection to the remote host.  If necessary, the user can also issue 
ATDxxxxxxxxxxxxppppp where x is the decimal address and ppppp is the remote port.  The stack 
will perform the physical connection and present the user with the proper messages:  
NO CARRIER 
NO ANSWER 
CONNECT 
OK 
ERROR  
Description:  
If legacy mode is enabled, the AT interface tries to behave like a legacy analog modem. ATD and 
ATA will function on the TCP stack instead of the physical connection. Responses will behave like 
that of an analog modem. 
Syntax:  
Set Value: 
AT#LEGACYMODE=1 
  
 
View  Values:
 AT#LEGACYMODE? 
 
Values: 
0   Disable legacy mode 
 
 
1   Enable legacy mode 
Default:  
 
 
#RESET – Reset Main Processor or Internal Modem 
Description:   
This command will force a reset on the Stack and internal radio or just the internal radio. 
Syntax: 
 
 
AT#RESET =<value> 
Values:
 
0   Reset the Stack and internal modem 
1  Reset the internal modem only.
  
Note: 
This value is not valid for the SocketEthernet IP (MT100SEM-IP) and the 
SocketWireless Wi-Fi (MT810SWM-IP) 
Example:  
AT#RESET=0 
Note:
 
After issuing AT#RESET, it can take up to 45 seconds before the MT810SWM-IP is ready to 
accept AT Commands. When configuring the MT810SWM-IP using security mode WPA or 
WPA2, the bootup time will take longer. 
  
#SHIELDCHAR – Configure the Shielding Character for DLEMODE 
Description:
  
This parameter defines the shield character for the clients that use shielding (also known as DLE 
shielding with regards to UIP). 
 
 
Note:
 This command is for all devices except the SocketWireless Wi-Fi (MT810SWM-IP)  
Syntax: 
AT#SHIELDCHAR=[<parameter1>] 
 
AT#SHIELDCHAR? 
Values: 
0-255 (an integer value between 0 and 255) 
Responses: 
\r\n#SHIELDCHAR: VALUE\r\n 
\r\nOK\r\n 
\r\nERROR\r\n 
Examples:
 
send:  AT#SHIELDCHAR=20\r 
reply: \r\nOK\r\n 
send:  AT#SHIELDCHAR?\r 
reply: \r\n#SHIELDCHAR: 20\r\n 
reply: \r\nOK\r\n