2 stop the alarm activity, At#shdn<cr, At#wake=0<cr – Rainbow Electronics GM862-GPS User Manual

Page 91: 3 querying the alarm status, At#wake?<cr

Advertising
background image





GM862-GPS Software User Guide

1vv0300729 Rev. 5 - 05/07/07

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

page 91 of 120

3.7.2.2 Stop the Alarm activity

When the alarm time expires, the module starts the alarm activity according to the alarm behavior
parameter <type> selected.
To stop the Alarm activity there are three ways, you can either decide to exit from alarm and shutdown
the device or exit from alarm and entering the normal operational status; otherwise you can leave the
alarm go on until the 90s timeout is reached.

3.7.2.2.1 Exit from the alarm status and shutdown

Send command

AT#SHDN<cr>

wait for response

OK


At the OK result code, the device will end alarm activity and shutdown.

3.7.2.2.2 Exit from the alarm status and enter the normal operating mode

Send command

AT#WAKE=0<cr>

wait for response

OK


At the OK result code, the device will end alarm activity and enter normal operating mode. If the
device was already in normal operating mode (alarm has started when the module was already ON),
then with the command only the alarm activity is terminated.

3.7.2.3 Querying the Alarm status

When the device awakes by means of an alarm time expire, the module starts the alarm activity but
not the network activity, permitting some operations to be done by the controlling application without
registering the mobile in the network.
To check if the mobile is in the "alarm status" and therefore no network activity is done or if the device
is in the normal operating status:

Send command

AT#WAKE?<cr>

wait for response in the format:

+WAKE: <status>
OK

where:
<status> is the operating mode:

0 - normal operating mode
1 - alarm mode

Advertising