2 at+cala set alarm time, At+cala, Tc63 at command set – Siemens TC63 User Manual

Page 437

Advertising
background image

TC63 AT Command Set

19.2 AT+CALA

s

TC63_ATC_V00.490

Page 437 of 501

5/24/05

Confidential / Draft - Do not copy

19.2

AT+CALA Set alarm time

The

AT+CALA

write command can be used to set an alarm time in the ME or to clear a programmed alarm. When

the alarm time is reached and the alarm is executed the ME returns an Unsolicited Result Code (URC) and the

alarm time is reset to "00/01/01,00:00:00".

The alarm can adopt two functions, depending on whether or not you switch the GSM engine off after setting the

alarm:
• Reminder message: You can use the alarm function to generate reminder messages. For this purpose, set

the alarm as described below and do not switch off or power down the ME. When executed the message

comes as an Unsolicited Result Code which reads "

+CALA

".

• Airplane mode: The alarm function can be used to wake up the ME at a scheduled time. For this purpose, set

the alarm as described below. Then power down the ME by entering the

AT^SMSO

command. When the alarm

time is reached the ME enters the Airplane mode, notified to the user by the URC "

^SYSSTART AIRPLANE

MODE

" and, if available, by a user defined text message (specified with

<text>

). In Airplane mode, the RF

interface of the ME is shut down to prevent it from unintentionally logging into the GSM network. All AT com-

mands whose execution requires a radio connection are disabled. A list of AT commands supported during

Airplane mode can be found in Section

21.4

,

Availability of AT Commands Depending on Oper-

ating Mode of ME

. To return from Airplane mode to Normal mode use the

AT^SCFG

command and set

the parameter

<map>

to "off". This immediately activates the RF interface and restores access to all AT com-

mands. The URC "

^SYSSTART

" notifies the user that the ME has returned to Normal mode. Please note that

setting an alarm with

AT+CALA

is one method to wake up into Airplane mode. The second approach is using

the

AT^SCFG

command, parameter

<mapos>

. For further detail on Airplane mode refer to Section

2.14

,

AT^SCFG

.

The

AT+CALA

test command returns the supported array index values

<n>

, the supported alarm types

<type>

and the maximum length of the text

<tlength>

to be output.

The

AT+CALA

read command returns the current alarm settings in the ME.

Syntax

Test Command

AT+CALA=?

Response(s)

+CALA:

(list of supported

<n>

s), (list of supported

<type>

s), (list of supported

<tlength>

s)

OK

ERROR

+CME ERROR: <err>

Read Command

AT+CALA?

Response(s)

+CALA:

<time>

[,

<n>

[,

<type>

[,

<text>

]]]

OK

ERROR

+CME ERROR: <err>

Write Command

AT+CALA=

<time>

[,

<n>

[,

<type>

[,

<text>

]]]

Response(s)

OK

ERROR

+CME ERROR

Reference(s)

PIN

ASC0 ASC1 USB MUX1 MUX2 MUX3 Charge

4

Last

GSM 07.07

!

%

%

%

%

%

%

%

%

!

Advertising