
Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
3.2. Activating GPRS Connection
For using AT command driven TCP/UDP connection (described in Chapter 5), you need to first activate the MSP GPRS
connection. There are two AT commands:
- AT+CGATT
- AT+IPCONNECT
3.2.1. AT+CGATT command
This standard AT command is to make the modem to attach to or detach GPRS network. For details please read AT
command document.
Command Syntax
AT+CGATT=<state>
Response Syntax
+CGATT: <state>
OK
Note: display current status
OK
Note: GPRS attach success
OK
Note: GPRS detach success
Defined Values:
<state>
1: attach GPRS
0: detach GPRS.
3.2.2. AT+IPCONNECT command
This MSP AT commands is to make the modem to activate or deactivate GPRS connection. Once IPCONNECT is
success you can perform TCP/UDP connection as described on other chapters. Please read note below on using this
command.
Command Syntax
AT+IPCONNECT = <Bearer>,<Connect>
Response Syntax
+IPCONNECT: <Bearer>,<Connect>
+IPCONNECT: (0-1) , (0-1)
OK
Note: display possible values
OK
Note: display current status
OK
OK
Note: Activate GPRS connection success
Comentarios a estos manuales