User's Manual

19
Sales Engineering
support@xirgotech.com
AppendixB EVENTTABLE
EVENT
DESCRIPTION
INDEX RANGE
TimerExpired(<index>)
Evaluates to 1 when timer is expired,
otherwise 0
index is in the range 0 - 31
UserEventIsActive(<index>)
Evaluates to 1 when a user event has
been injected into interpreter, otherwise
0
index is in the range 0 - 255.
Use :xrmsg <index> to inject a message
into interpreter. (Must be caught in
interpreter script with this event
function)
AccelEventIsActive(<index>)
Evaluates to 1 when an accelerometer
event is detected, otherwise 0
index is in the range 0 - 3.
GarminResponseReceived(<index>)
Evaluates to 1 when a non-blacklisted
Garmin response is received (and
Garmin is active), otherwise 0
index is in the range 0 - 5.
0 = Ack (or Nak) packet (only
triggered when specified in
SendGarminMsg())
1 = Unit ID (a.k.a. Garmin ESN)
response
2 = Product ID response
3 = Throttle Message response
4 = Ping response
5 = Generic response; any response
that isn't listed above and isn't
blacklisted
GarminUserPayloadReceived(<index>)
Evaluates to 1 when a payload (destined
for garmin device) has been received,
otherwise 0
index can only be 0.
This signals that a payload has been
sent to the device by a user/server.
Typically this would be used to
trigger a SendGarminMsg() action.
DriverIdRead(<index>)
Evaluates to 1 when driver id is detected
on 1-wire channel <index>, otherwise 0
index is in the range 0 1
SystemEventIsActive(<index>)
Evaluates to 1 when system event
<index> is active, otherwise 0.
index is in the range 0 - 17.
0 = Reset
1 = Wakeup
2 = BootloaderUpgrade (TBD)
3 = FWUpgrade
4 = ScriptUpgrade
5 = ParamSetUpgrade
6 = OverlayUpgrade
7 = ManualConfigChange
8 = CellRegistrationChange
9 = IPChange
10 = SMSReceived
11 = SMSSendOK
12 = SMSSendFailure
13 = UDPReceived
14 = UDPSendOK
15 = UDPSendFailure
16 = PacketStorageEmpty
17 = PacketStorageFull