beautypg.com

At+cfun set phone functionality, 9 at+cfun set phone functionality – Siemens MC35 User Manual

Page 66

background image

AT Command Set

MC35_ATC_01_V03.02

Page 66 of 228

13.03.2002

4.9 AT+CFUN Set phone functionality

The AT+CFUN command serves to query or set the level of functionality of the ME. You can
reset the ME or enable power saving.

Full functionality
=1

Full functionality is where high current is drawn, depending on the power level and
the operating mode, e.g. IDLE, TALK, DATA, IDLE GPRS or DATA GPRS mode.

SLEEP mode and wake-ups
Intended for power saving, SLEEP mode reduces the functionality of the ME to a minimum and,
thus, minimizes the current consumption to the lowest level. SLEEP mode can be selected in the
three levels =0, 5 or 6:
=0:

If =0 has been selected, the serial interface is blocked. The ME shortly wakes
up to listen to a paging message block sent from the base station and immediately
returns to the power saving mode.
The first wake-up event fully activates the ME, enables the serial interface and ter-
minates power saving. Level 0 is called NON-CYCLIC SLEEP mode.

=5 or 6:

These two options are referred to as CYCLIC SLEEP modes. The major benefit over
the NON-CYCLIC SLEEP mode is that the serial interface is not permanently
blocked and that packet switched calls may go on without terminating the power
saving mode. This allows you to take advantage of power saving, for example, while
the ME remains attached to the GPRS and even performs a GPRS data transfer.
The CYCLIC SLEEP mode is a dynamic process which alternatingly enables and
disables the serial interface. The application must be configured to use hardware
flow control. By setting/resetting the CTS signal, the module indicates to the applica-
tion when the UART is active. The application must wait until CTS is set (i.e. is ac-
tive low) on the physical UART before data can be sent to the module.
The module starts or resumes power saving two seconds (AT+CFUN=5) or ten min-
utes (AT+CFUN=6) after the last sent or received character. The module resets the
CTS signal, and after additional 5ms it physically deactivates the UART to save
power.
Wake-up procedures are the same as in the NON-CYCLIC SLEEP mode. The first
wake-up event fully activates the module, enables the serial interface and terminates
power saving. As an additional option, you can set AT+CFUN=1 to wake up the
module.

Wake-ups:

While the SLEEP mode is in effect, there are number of ways to wake up the ME:
incoming call (RING), incoming SMS, RTC alarm, receipt of an unsolicited result
code (URC). See Chapter 9.1.4 for a summary of URCs.
During the NON-CYCLIC SLEEP mode (), a falling edge of the RTS line
also wakes up the GSM engine. In the CYCLIC SLEEP modes (=5 or 6), the
RTS signal is only used for handshake and does not wake up the ME

IMPORTANT: The SLEEP modes =0, 5 and 6 can be selected no matter whether or not PIN
authentication has been done. Nevertheless, please keep in mind that power saving works only
while the module is registered to the GSM network
. If you attempt to activate power saving while the
module is detached, the selected option will be set, though power saving does not take effect.
Furthermore, in order to accept incoming calls, SMS or network related URCs in SLEEP mode the
ME must be registered when it enters the SLEEP mode.
To check that power saving is on, it is recommended to measure the supply current. If available, you
can take advantage of the status LED controlled by the SYNC pin (see Chapter 8.35 and [1]. The
LED stops flashing once the module starts power saving.

For detailed information on the various operating modes, current consumption, the timing of the CTS
signal and a summary of wake-up events from SLEEP mode, please refer to [1].