Specifications

Chapter 2 – Configuration Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 23
2.9 AT+CFUN Set Phone Functionality
Description: This command serves to control the functionality level of the mobile equipment (ME). It can be used
to reset the ME, to choose one of the SLEEP modes, or to return to full functionality.
Intended for power saving, SLEEP mode reduces the functionality of the ME to a minimum and thus
minimizes the current consumption. SLEEP mode falls in two categories:
NON-CYCLIC SLEEP mode <fun>=0
and CYCLIC SLEEP modes, selectable as <fun>= 7 or 9.
NON-CYCLIC SLEEP mode permanently blocks the serial interface. The benefit of the CYCLIC
SLEEP mode is that the serial interface remains accessible and that, in intermittent wake-up periods,
characters can be sent or received without terminating the selected mode. This allows the ME to
wake up for the duration of an event and, afterwards, to resume power saving. Please refer to Section
2.8.1, Wake up the ME from SLEEP mode for a summary of all SLEEP modes and the different ways
of waking up the module.
For CYCLIC SLEEP mode both the ME and the application must be configured to use hardware flow
control. This is necessary since the CTS signal is set/reset every 0.9 to 2.7 seconds in order to
indicate to the to the application when the UART is active. The default setting of hardware flow control
is AT\Q0 which must be altered to AT\Q3.
For use after restart you are advised to add it to the user profile saved with AT&W.
Test Command Syntax: The test command returns the values of the supported parameters.
AT+CFUN=?
Response: +CFUN: (list of supported <fun>s) , (list of supported <rst>s)
OK
Read Command Syntax: The read command returns the current functionality value.
AT+CFUN?
Response: +CFUN: <fun>
OK
Write Command Syntax: The write command can be used to reset the ME, to choose one of the SLEEP modes or
to return to full functionality.
AT+CFUN=<fun>, <rst>
Response: OK
ERROR
+CME ERROR
Parameter Descriptions:
<fun>
0 NON-CYCLIC SLEEP mode:
In this mode, the AT interface is not accessible. Consequently, after setting <fun>=0, do not send further
characters. Otherwise these characters remain in the input buffer and may delay the output of an
unsolicited result code. The first wake-up event stops power saving and takes the ME back to full
functionality level <fun>=1.
1 Full functionality. Default
If the ME is in one of the CYCLIC SLEEP modes you can issue AT+CFUN=1 to stop power saving and
return to full functionality.
Keep in mind that, unlike the reset command described below, this action does not restart the ME but only
changes the level of functionality. See parameter <rst> for details on the reset.
7 CYCLIC SLEEP mode:
In this mode, the serial interface is shortly enabled during paging. If characters are recognized on the
serial interface, the ME stays active for 2 seconds after the last character was sent or received. ME exits
SLEEP mode only, if AT+CFUN=1 is entered.
9 CYCLIC SLEEP mode:
In this mode, the serial interface is shortly enabled while CTS is active. If characters are recognized on the
serial interface, the ME stays active after the last character was sent or received for at least the time,
which can be configured by AT^SCFG=”PowerSaver/Mode9/Timeout”,<psm9to> (temporary wakeup).
In contrast to SLEEP mode 7 assertion of RTS can also be used to temporarily wake up the ME. In this
case too, activity time is at least the time set with AT^SCFG=”PowerSaver/Mode9/Timeout”,<psm9to>.
ME exits SLEEP mode only, if AT+CFUN=1 is entered.