diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-08-30 16:08:09 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-08-30 16:08:09 +1200 |
commit | b00aa59041764672e800516fe297d84ac59e8211 (patch) | |
tree | e45eee947312b6ebfb9b038ca6a79cb8bf493389 /src/org/traccar | |
parent | b3e485ae96a7d8af1c339c2c960383a247752417 (diff) | |
download | traccar-server-b00aa59041764672e800516fe297d84ac59e8211.tar.gz traccar-server-b00aa59041764672e800516fe297d84ac59e8211.tar.bz2 traccar-server-b00aa59041764672e800516fe297d84ac59e8211.zip |
Additional Concox X3 alarms
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/Gt06ProtocolDecoder.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Gt06ProtocolDecoder.java b/src/org/traccar/protocol/Gt06ProtocolDecoder.java index 7ef57209a..e3be8d5ab 100644 --- a/src/org/traccar/protocol/Gt06ProtocolDecoder.java +++ b/src/org/traccar/protocol/Gt06ProtocolDecoder.java @@ -311,6 +311,21 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder { return Position.ALARM_LOW_BATTERY; case 0x11: return Position.ALARM_POWER_OFF; + case 0x13: + return Position.ALARM_TAMPERING; + case 0x14: + return Position.ALARM_DOOR; + case 0x29: + return Position.ALARM_ACCELERATION; + case 0x30: + return Position.ALARM_BRAKING; + case 0x2A: + case 0x2B: + return Position.ALARM_CORNERING; + case 0x2C: + return Position.ALARM_ACCIDENT; + case 0x23: + return Position.ALARM_FALL_DOWN; default: return null; } |