Alarm Management - +CALA. Telit Wireless Solutions LE910
Pubblicità
Pubblicità
Telit LE910 V2 Series AT Commands
80446ST10707A Rev . 0– 2015-11-03
Alarm Management - +CALA
+CALA - Alarm Management
AT+CALA=
SELINT 2
Set command stores in the internal Real Time Clock an alarm time with respective
<time>[,<n>[,<type>
[,<text>[,<recurr>
[,<silent>]]]]] settings. It is possible to set up a recurrent alarm for one or more days in the week.
Currently just one alarm can be set.
When the RTC time reaches the alarm time then the alarm starts, the behaviour of the MODULE depends upon the setting <type> and if the device was already ON at the moment when the alarm time had come.
Parameters:
<time> - current alarm time as quoted string
“” - (empty string) deletes the current alarm and resets all the +CALA parameters to the “factory default” configuration
"hh:mm:ss±zz" - format to be used only when issuing +CALA with parameter
<recurr> too.
"yy/MM/dd,hh:mm:ss±zz" - generic format: it’s the same as defined for +CCLK
(see)
<n> - index of the alarm
0 - The only value supported is 0.
<type> - alarm behaviour type
0 - reserved for other equipment use.
1 - the MODULE simply wakes up fully operative as if the ON/OFF button had been pressed. If the device is already ON at the alarm time, then it does nothing
(default).
2 - the MODULE wakes up in "alarm mode" if at the alarm time it was off, otherwise it remains fully operative. In both cases the MODULE issues an unsolicited code every 3s:
+CALA: <text> where <text> is the +CALA optional parameter previously set.
The device keeps on sending the unsolicited code every 3s until a #WAKE or
#SHDN command is received or a 90 seconds timer expires. If the device is in
"alarm mode" and it does not receive the #WAKE command within 90s then it shuts down.
3 - the MODULE wakes up in "alarm mode" if at the alarm time it was off, otherwise it remains fully operative. In both cases the MODULE starts playing the alarm tone on the selected path for the ringer (see command #SRP )
The device keeps on playing the alarm tone until a #WAKE or #SHDN command is received or a 90 s time-out occurs. If the device is in "alarm mode" and it does not receive the #WAKE command within 90s then it shuts down.
4 - the MODULE wakes up in "alarm mode" if at the alarm time it was off, otherwise it remains fully operative. In both cases the MODULE brings the pin
GPIO6 high, provided its <direction> has been set to alarm output, and keeps it
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
Mod. 0808 2011-07 Rev.2
page 109 of 509
Scarica
Pubblicità