aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-08-30 16:08:09 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-08-30 16:08:09 +1200
commitb00aa59041764672e800516fe297d84ac59e8211 (patch)
treee45eee947312b6ebfb9b038ca6a79cb8bf493389 /src/org/traccar
parentb3e485ae96a7d8af1c339c2c960383a247752417 (diff)
downloadtraccar-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.java15
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;
}