12.07.2015 Views

GM862-GPS Software User Guide - SemiconductorStore.com

GM862-GPS Software User Guide - SemiconductorStore.com

GM862-GPS Software User Guide - SemiconductorStore.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>GM862</strong>-<strong>GPS</strong> <strong>Software</strong> <strong>User</strong> <strong>Guide</strong>1vv0300729 Rev. 4 - 24/01/073.7.2.3.1 Alarm operation exampleFor example:1- Let's assume you have a battery powered device, a meteorological unit that measures every hourthe conditions and therefore needs to send a new SMS every hour to the central server, for exampleindicating the whether status just measured. Let say your application shall consume the absoluteminimum power to achieve the job, since it will be placed in a remote position where its battery shalllast as long as possible and therefore it should shutdown <strong>com</strong>pletely and wake up every hour for justthe time needed to measure & send the whether, successively shutdown.- set up the time in the internal clock (only the first time..)<strong>com</strong>mand:AT+CCLK="02/11/07,12:24:30+01"response:OK- set up the next alarm in order to raise the GPIO6 pin to power up the controlling application too.<strong>com</strong>mand:AT+CALA="02/11/07,13:24:30+01",0,6,"TIME TO MEASURE & SMS…!"response:OK- shutdown the <strong>GM862</strong>-<strong>GPS</strong> and successively the controlling application.<strong>com</strong>mand:AT#SHDNresponse:OK… after an hour..The <strong>GM862</strong>-<strong>GPS</strong> will turn itself ON in "Alarm Mode" and contemporarily both rise the GPIO6 pin whichturns on the power to the controlling application and issue every 3s an unsolicited code +ALARM:TIME TO MEASURE & SMS…!- turn on the keep alive line in the controlling application that keeps itself ON.- stop the alarm activity in the <strong>GM862</strong>-<strong>GPS</strong> (recognized by the +ALARM unsolicited code) and bringthe <strong>GM862</strong>-<strong>GPS</strong> in operating mode<strong>com</strong>mand:AT#WAKE=0response:OK- take the whether measure- send the SMS with the whether data (see Sending a new SMS without storing it par. 3.5.5).- read the current time.<strong>com</strong>mand:AT+CCLK?Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 89 of 111

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!