WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
14
AT+CGATT?
+CGATT: 0
OK
Query the GPRS status.
AT+CGATT=?
+CGATT: (0,1)
OK
Query the valid parameter values for
the command.
Remarks
By default, the module can automatically perform GPRS attach.
Ensure that the GPRS attach is set before the PPP connection is set up.
It is recommended that you add the
AT+CGATT?
command to the process
to query the GPRS status. If the module returns
1
, you can set up PPP
connection directly; otherwise, you need to set GPRS attach manually by
executing the command
AT+CGATT=1
.
2.5 Setting Module Functionality: +CFUN
Description
To select the functions of the module by setting
<fun>
<fun>
supports only a few values.
Format
AT+CFUN=<fun>[,<rst>]<CR>
AT+CFUN=?<CR>
AT+CFUN?<CR>
Parameter
<fun>:
0: Turn off the radio an SIM power (minimum functions).
1: All functions
4: Turn off the RF transmit and receive circuit of the module (flight mode).
6: Ready to restart (the module is set to restart, and you can query this status
before the restart.)
7: Offline state (During the restart, the module is offline and then searches for the
network but fails. The module enters this state, which can be queried only.)
<rst>:
0: Do not reset the MT before setting it to <fun> power level
.
1: Reset the MT before setting it to <fun> power level
Return Value
<CR><LF>+CFUN: (list of supported <fun>s), (list of supported <rst>s) <CR><LF>