|
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