Specifications

Chapter 2 – Configuration Commands
Multi-Tech Systems, Inc. AT Commands for EDGE (E1) Modems (S000474A) 24
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.
The test command returns the values of the supported parameters.
The read command returns the current functionality value.
The write command can be used to reset the ME, to choose one of the SLEEP modes or to
return to full functionality.
Syntax: Test Command: AT+CFUN=?
Response: +CFUN: (list of supported <fun>s) , (list of supported <rst>s)
OK
Read Command: AT+CFUN?
Response: +CFUN: <fun>
OK
Write Command: AT+CFUN=[<fun>[, <rst>]]
Response: OK
ERROR
+CME ERROR: <err>
Unsolicited Result Codes:
URC 1 ^SYSSTART
Indicates that the ME has been started and is ready to operate. If
autobauding is active (AT+IPR=0), the URC is not generated.
If the ME is configured to enter the Airplane mode after restart or reset the
following URC is received on boot up:
“^SYSSTART AIRPLANE MODE”. In this mode, only the AT commands
listed in Section 20.4, Availability of AT Commands Depending on Operating
Mode of ME can be used. For details please refer to the AT^SCFG
command, parameter <mapos>.
Parameters:
<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:
This is the default value if the parameter is omitted; 1 will be assumed.
It is also the factory default value and will be restored with AT&F
Also, it is the powerup default value which is not stored at power down.
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.