7 clock/alarm function, 1 clock date/time, 1 regulate the clock – Rainbow Electronics GM862-QUAD-PY User Manual

Page 83: At+cclk="<time>"<cr

Advertising
background image





GM862-QUAD / PY Software User Guide

1vv0300747 Rev. 3 - 10/07/07

Reproduction forbidden w ithout Telit Communications S.p.A. w ritten authorization - All Rights Reserved

page 83 of 96

3.7 Clock/Alarm function

The

Telit GM862-QUAD / PY

provides a Real Time Clock and Alarm embedded in the product; it is

therefore possible to set-up the proper time, check the actual time, set-up an alarm time at which the
alarm will be triggered with various behavior depending on the +CALA setting.
The only requirement is that the power input to the

Telit GM862-QUAD / PY

has to be guaranteed

without interruptions, the

Telit GM862-QUAD / PY

has no backup battery; therefore it will lose the time

setting if its power supply is interrupted.

On Alarm trigger the

Telit GM862-QUAD / PY

can:

automatically Wake-up fully operative from shutdown as if the ON/OFF

automatically Wake-up from shutdown in a special status namely "alarm status" where it will not

look for or try to register into any network, as if it would be off, except from the fact that it proceeds
with the alarm action and it can receive commands to return completely operative or shutdown
immediately.

If already ON at alarm trigger time, simply proceed with the Alarm action


Once Woken-up the

Telit GM862-QUAD / PY

proceeds with the chosen action that can be

issue an unsolicited code "+ALARM: <user_text>" on the serial port until a 90s timeout expires or a

special Wake-up command is received

play an Alarm tone until a 90s timeout expires or a special Wake-up command is received

rise the pin GPIO6 until a 90s timeout expires or a special Wake-up command is received

any combination of these actions


With these features, the

Telit GM862-QUAD / PY

for example can:

Wake-up itself and its controlling hardware by using the GPIO6 pin at the desired time, so timely

surveys can be programmed without the need to keep the any hardware on and therefore reducing
power consumption to a minimum.

Activate some special hardware on time trigger event with the GPIO6 pin.

Alert the controlling application that the alarm time has come with the unsolicited code

"+ALARM:<user_text>"

Alert the user with the alarm tone played

3.7.1 Clock date/time

Before using the Alarm feature, you must regulate the internal clock.

3.7.1.1 Regulate the Clock

Send command

AT+CCLK="<time>"<cr>

where:
<time>
- current time as quoted string in the format : "yy/MM/dd,hh:mm:ss±zz"
yy - year (two last digits are mandatory), range is 00..99

Advertising