2.8AT+CFUN Set phone functionality

The AT+CFUN command serves to control the functionality level of the 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>= 5, 6, 7, 8 or 9.

NON-CYCLIC SLEEP mode permanently blocks the serial interface. The CYCLIC SLEEP mode, however, is a dynamic process which alternatingly enables and disables the serial interface. The major benefit of all CYCLIC SLEEP modes 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. The best choice is using <fun>= 7, 8 or 9, since in these modes MC55 automatically resumes power saving, after you have sent or received a short message or made a call. <fun>=5 or 6 do not offer this feature to the same extent and are only supported for compatibility with earlier releases. In all CYCLIC SLEEP modes, you can enter <fun>=1 to permanently wake up MC55 and take it back to full functionality. 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 (<fun>= 5, 6, 7, 8 or 9) 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 time when the ME listens to a paging message from the base station. This is the way how the module indicates to the application when the UART is active. For detailed information on the timing of the CTS signal refer to [2]. The default setting of hard- ware 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.

If both interfaces ASC0 and ASC1 are connected, hardware flow control must be set in either application.

The AT+CFUN test command returns the values of the supported parameters. The AT+CFUN read command returns the current functionality value.

The AT+CFUN 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(s)

+CFUN: (list of supported <fun>s) , (list of supported <rst>s)

OK

Read Command

AT+CFUN?

Response(s)

+CFUN: <fun>

OK

Write Command

AT+CFUN=[<fun>[, <rst>]]

Response(s)

OK ERROR +CME ERROR

Reference(s)

GSM 07.07

PIN ASC0 ASC1 MUX1 MUX2 MUX3 Charge  Last

! % % § § § ! ! !

MC55_ATC_V04.00

Page 37 of 475

3/17/06

Confidential / Released

 

 

Page 37
Image 37
Siemens MC55 AT manual AT+CFUN Set phone functionality, At+Cfun=?, +CFUN fun, AT+CFUN=fun, rst, OK Error +CME Error