XT2500 Product Manual
Page 30 | 92
CONFIDENTIAL AND PROPRIETARY
Script Language
Description
Value
Description
0
Reset
1
Wakeup
2
BootloaderUpgrade
3
FWUpgrade
4
ScriptUpgrade
5
ParamSetUpgrade
6
OverlayUpgrade (not implemented)
7
ManualConfigChange
8
CellRegistrationChange
9
IPChange
10
SMSReceived
11
SMSSendOK
12
SMSSendFailure
13
UDPReceived
14
UDPSendOK
15
UDPSendFailure
16
PacketStorageEmpty
17
PacketStorageFull
18
PdpConnectionReset (not implemented)
19
Device Powerup
20
OTA Reject (not implemented)
ObdDtcEventIsActive(0)
Evaluates to 1 when an OBD DTC event is detected, otherwise 0.
AccelCrashEventIsActive(0)
Evaluates to 1 when an accelerometer crash event is detected, otherwise 0.
Special Functions
Script Language
Description
SystemVal(<packet field id>)
Evaluates to value stored in packet field
Packet field ID: See
Packet Recipes
for available IDs
UserVar16(<index>)
Evaluates to value stored in 16bit user variable
Index range: 0 to 15
UserVar32(<index>)
Evaluates to value stored in 32bit user variable
Index Range: 0 to 15
FlagIsSet(<index>)
Evaluates to 1 when flag is set, otherwise 0
Index Range: 0 to 31