AT Command

Description

AT+CFUN AT command  sets the level of functionality in the MT. Level "full functionality" is where the highest level of power is drawn. "Minimum functionality" is where minimum power is drawn.
Possible values are,
0 minimum functionality
1 full functionality
2 disable phone transmit RF circuits only
3 disable phone receive RF circuits only
4 disable phone both transmit and receive RF circuits

Usage
Command Possible response(s)
+CFUN=[[,]] +CME ERROR: 
+CFUN? +CFUN: +CME ERROR: 
+CFUN=? +CFUN: (list of supporteds),(list of supporteds) +CME ERROR: 

Examples

Find out what is supported by the device
AT+CFUN=?
+CFUN: (0,1,4),(0-1)

OK
Above indicates that devices supports minimum functionality ('0'), Full functionality('1') and ability to disable Rx and Tx path ('4')

// Disable the Tx and Rx Path
AT+CFUN=4

OK

Get the current status
AT+CFUN?
+CFUN: 4

OK

KeywordsAT+CFUN syntax, examples, parameters, error, input, response.

With Online AT Command Tester tool, AT+CFUN command can be tested in many ways,

Send the AT+CFUN commands in the ‘Command Mode’ tab,
AT+CFUN?

+CFUN: 1

OK
AT+CFUN=?

+CFUN: (0,1,4),(0-1)

OK
AT+CFUN=1

OK

You can also send batch of AT commands including the AT+CFUN command in the “Script Mode” tab,


Try this script included in AT Command Tester Tool.

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

//Script-at_cfun.at

//Test AT+CFUN AT command

//AT+CFUN command is used to device functionality

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

 

//List of supported responses

AT+CFUN=?

 

//WAIT for 1 sec

WAIT=1

 

//Check whether PIN code for SIM is required

AT+CFUN?

 

//WAIT for 1 sec

WAIT=1

 

//Set for minimum functionality

AT+CFUN=0

 

//WAIT for 5 sec

WAIT=5

 

//Set for full functionality

AT+CFUN=1

 

//WAIT for 5 sec

WAIT=5

 

//Disable both transmit and receive RF circuits

AT+CFUN=4

 

//WAIT for 5 sec

WAIT=5

 

//Reset the device before setting for full functionlity

AT+CFUN=1,1

 

 

 


Output of above script in AT Command Tester Tool.

AT+CFUN=?

+CFUN: (0,1,4),(1)

 

OK

AT+CFUN?

+CFUN: 1

 

OK

Device has Full functionality.

AT+CFUN=0

+CPIN: NOT READY

 

OK

AT+CFUN=1

+CPIN: READY

 

OK

 

SMS Ready

 

Call Ready

AT+CFUN=4

OK

AT+CFUN=1,1

ERROR