WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
13
ERROR
and the module returns
ERROR
.
AT+CGREG=?
+CGREG: (0-2)
OK
Query the available parameter range.
Remarks
N/A
2.4 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
+PPPSTATUS:CLOSED
OK
PPPSTATUS:CLOSED
is returned if
you run this command after PPP
connection is set up (
AT+XIIC=1
).
AT+CGATT=0
$MYURCACT: 0,0
OK
This value is returned if you run the
command after the PPP connection is
set up (AT$MYNETACT=0,1).
AT+CGATT=0
ERROR
No SIM card is installed, so the module
returns
ERROR
.