– The setting will be saved, and after power off, the AUTOTCP will be restarted with the 20 seconds delay after
power up.
– To stop auto TCP connection, you need to enter the command AT+AUTOTCP=0 either
1. within 20 seconds after power up,
2. during reconnection (serial port back to command mode),
3. or by SMS (see chapter 10)
– During AUTOTCP operation reset will happen in following cases:
1. If no GPRS connection successful for 2 minutes.
2. If failure to switch UART to Data mode.
3. If undefined condition occurs in connection errors/callback handlers.
3.2.2 Automatic UDP connection
AT+AUTOUDP
This command controls the modem to start UDP connection automatically.
Two socket connections can be established at the same time, mapping to the main Serial port or USB COM port in
case of the M1003G.
Before using AT+AUTOUDP, UDP and cellular settings MUST be setup properly using AT+IPUDP and AT+IPGPRS
command respectively. See section 2.2.2 and 2.1.1 for more details.
Syntax: AT+AUTOUDP=<mode>
Response: +AUTOUDP: <mode>
Defined Values:
<mode> 0 disable auto UDP (for main Serial port and USB COM port).
1 enable auto UDP mapped to main Serial port, disable auto UDP mapped to USB COM port.
2 enable auto UDP mapped to USB COM port, disable auto UDP mapped to main Serial port.
3 enable auto UDP on both main and USB COM port.
Example:
Command Response
AT+AUTOUDP=0 OK
Note : disable AutoUDP.
AT+AUTOUDP=1 OK
Note: enable AutoUDP.
AT+AUTOUDP? +AUTOUDP: 1
OK
AT+AUTOUDP=? +AUTOUDP: (0-1)
OK
Note:
– AUTOUDP connection is exclusive to other TCP/UDP feature. See chapter 24.
– Before enabling AUTOUDP, cellular settings MUST be properly set by AT+IPGPRS command and UDP settings
by AT+IPUDP command, see section 2.2.2 and 2.1.1 for more details.
28 Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
support@maestro-wireless.com