GE863-QUAD / PY Software User Guide
GE863-QUAD / PY Software User Guide
GE863-QUAD / PY Software User Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>GE863</strong>-<strong>QUAD</strong> / <strong>PY</strong> <strong>Software</strong> <strong>User</strong> <strong>Guide</strong><br />
1vv0300746 Rev. 1 - 23/10/06<br />
3.6.2.3.1 Alarm operation example<br />
For example:<br />
1- Let's assume you have a battery powered device, a meteorological unit that measures every hour<br />
the conditions and therefore needs to send a new SMS every hour to the central server, for example<br />
indicating the whether status just measured. Let say your application shall consume the absolute<br />
minimum power to achieve the job, since it will be placed in a remote position where its battery shall<br />
last as long as possible and therefore it should shutdown completely and wake up every hour for just<br />
the time needed to measure & send the whether, successively shutdown.<br />
- set up the time in the internal clock (only the first time..)<br />
command:<br />
AT+CCLK="02/11/07,12:24:30+01"<br />
response:<br />
OK<br />
- set up the next alarm in order to raise the GPIO6 pin to power up the controlling application too.<br />
command:<br />
AT+CALA="02/11/07,13:24:30+01",0,6,"TIME TO MEASURE & SMS…!"<br />
response:<br />
OK<br />
- shutdown the <strong>GE863</strong>-<strong>QUAD</strong> / <strong>PY</strong> and successively the controlling application.<br />
command:<br />
AT#SHDN<br />
response:<br />
OK<br />
… after an hour..<br />
The <strong>GE863</strong>-<strong>QUAD</strong> / <strong>PY</strong> will turn itself ON in "Alarm Mode" and contemporarily both rise the GPIO6 pin<br />
which turns on the power to the controlling application and issue every 3s an unsolicited code<br />
+ALARM: TIME TO MEASURE & SMS…!<br />
- turn on the keep alive line in the controlling application that keeps itself ON.<br />
- stop the alarm activity in the <strong>GE863</strong>-<strong>QUAD</strong> / <strong>PY</strong> (recognized by the +ALARM unsolicited code) and<br />
bring the <strong>GE863</strong>-<strong>QUAD</strong> / <strong>PY</strong> in operating mode<br />
command:<br />
AT#WAKE=0<br />
response:<br />
OK<br />
- take the whether measure<br />
- send the SMS with the whether data (see Sending a new SMS without storing it par. 3.4.5).<br />
- read the current time.<br />
command:<br />
AT+CCLK<br />
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Right reserved page 94 of 117