User's Manual

20
Sales Engineering
support@xirgotech.com
AppendixC SPECIALFUNCTIONTABLE
Special Function
Description
Index Range
UserVar8(<index>)
Evaluates to value stored in user variable
index is in the range 0 - 15
UserVar16(<index>)
Evaluates to value stored in user variable
index is in the range 0 7
UserVar32(<index>)
Evaluates to value stored in user variable
index is in the range 0 - 7
FlagIsSet(<index>)
Evaluates to 1 when flag is set, otherwise 0
index is in the range 0 31
GeofenceState(<index>)
Evaluates to:
-1=<index> is not configured
0=outside fence
1=inside fence
index is in the range 0 - 49
InputState(<index>)
Evaluates to 1 when input is high/when
condition is true, otherwise 0
index is in the range 0 - 6.
0 = Ignition
1 = Input 1
2 = Input 2
3 = Input 3
4 = Input 4
5 = Device in motion (via GPS)
6 = Vehicle Battery > Threshold
7 = Accelerometer reorientation
validity
SystemState(<index>)
Evaluates to 1 when true, otherwise 0
index is in the range 0 - 16.
0 = Valid Registration
1 = Valid IP
2 = Valid GPS
3 = Valid Script
4 = DM Session Active
5 = Accel Oriented
6 = Bluetooth Discoverable(TBD)
7 = Bluetooth Paired(TBD)
8 = Bluetooth Authenticated(TBD)
9 = Bluetooth Connected(TBD)
10 = Bluetooth Powered(TBD)
11 = Cellular Powered
12 = GPS Powered
13 = Garmin Powered
14 = Motion Via Accel
15 = Motion Via GPS
16 = External Power