N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
34
There are four spaces before 1.
AT+XIIC?
+XIIC: 0, 0.0.0.0
OK
The PPP link is not set up
successfully.
There are four spaces before 0.
GPRS DISCONNECTION
PPP link is disconnected.
Remarks
Ensure that the module registers the network before using the AT+XIIC=1
command to set up PPP link. Use
AT+GREG?
to check whether the module
registers the network or not. If
+CREG: 0,1
or
+CREG: 0,5
is returned, the module
does not registered the network.
4.7 Setting GPRS Attach and Detach: +CGATT
Description
To set GPRS attach and detach
Format
AT+CGATT=<state><CR>
AT+CGATT?<CR>
AT+CGATT=?<CR>
Parameter
<state>: 0, 1
0: indicates detach
1: indicates attach
Return Value
See the Example.
Example
AT+CGATT=1
OK
GPRS attach is set successfully.
AT+CGATT=0
OK
GPRS detach is set successfully.
AT+CGATT=0
GPRS DISCONNECTION
OK
GPRS DISCONNECTION is returned
if this command is executed after a
PPP link is set up (AT+XIIC=1).
AT+CGATT=0
ERROR
No SIM card is installed, so the module
returns ERROR.
AT+CGATT?
+CGATT: 0
Query the GPRS status.