4.22. SCENARIOS AND EXAMPLES (SCRIPTS)
#--START/STOP monitoring--------------------
#Speed limit for START/STOP detection
>SGS0310080<
#Start 2 minutes timer
>SED38SV0;S03-;ACT=SGC01TC00120<
#Stop the time
>SED39SV0;S03+ACT=SGC01U<
#Create the STOP report
>SED30NV4;C01+<
#Create the START report
>SED31NV4;S03C01&+<
#-------------------------------------------
#--Reconnection event for DP 00-------------
>SED49NV4;A00+<
#-------------------------------------------
#end
4.22.9
Main-power-loss alarm
The unit can be set to send a report whenever the main power source
(mini-USB port) gets disconnected. To do so we use the
F13
signal.
>
SED07NV5;F13-
<
We choose event 07 for no particular reason. Continuing with our ex-
ample, this will make event 07 to be reported to the Tracking Server
and the Phone Number 912345678 any time the main power source
gets disconnected.
Script
Adding this message to the script is trivial so it is a task left to the
reader.
119