N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
18
2.11 Setting Module Function: +CFUN
Description
Select the function of the module by setting <fun>. <Fun> Only certain values are
supported
Format
AT+CFUN=[<fun>[,<rst>]]<CR>
AT+CFUN?<CR>
AT+CFUN=?<CR>
Parameter
<fun>:
1: Full function (default)
0: The minimum function (turn off radio and SIM power)
<Rst>:
0: Does not restart the receiver before setting the function mode
1: Restart the receiver before setting the function mode
Return Value
<CR><LF>+CFUN: (list of supported <fun>s),(list of supported <rst>s)
<CR><LF>OK<CR><LF>
or
<CR><LF>+CME ERROR: <err><CR><LF>
or
<CR><LF>ERROR<CR><LF>
Example
AT+CFUN=1,0
OK
Set the module to work with all
functions.
AT+CFUN?
+CFUN: 1
OK
Query the current functions.
All functions are turned on.
AT+CFUN=?
+CFUN: (0-1),(0-1)
OK
Query the range of the parameter
value.
AT+CMEE=1
OK
AT+CFUN
ERROR
Set AT+CMEE=0.
Send the AT+CFUN command and
ERROR is returned
AT+CMEE=0
OK
AT+CFUN
Set AT+CMEE=1.
Send the AT+CFUN command and
ERROR is returned.