aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-09-07 16:29:36 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-09-07 16:29:36 +1200
commitda2c8348de5d5c11e2b14a5c7f1052863472403f (patch)
tree1419e84f5a49e134ffef54b77d7996a3d8c16926
parent4a9c6b77ed4c281aef1c22db5324eeb7974e08e7 (diff)
downloadtrackermap-server-da2c8348de5d5c11e2b14a5c7f1052863472403f.tar.gz
trackermap-server-da2c8348de5d5c11e2b14a5c7f1052863472403f.tar.bz2
trackermap-server-da2c8348de5d5c11e2b14a5c7f1052863472403f.zip
Additional Meitrack alarms
-rw-r--r--src/org/traccar/protocol/MeitrackProtocolDecoder.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/org/traccar/protocol/MeitrackProtocolDecoder.java
index 465cfd9fa..9c4bcdd09 100644
--- a/src/org/traccar/protocol/MeitrackProtocolDecoder.java
+++ b/src/org/traccar/protocol/MeitrackProtocolDecoder.java
@@ -115,6 +115,19 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder {
return Position.ALARM_POWER_CUT;
case 36:
return Position.ALARM_TOW;
+ case 44:
+ return Position.ALARM_JAMMING;
+ case 78:
+ return Position.ALARM_ACCIDENT;
+ case 90:
+ case 91:
+ return Position.ALARM_CORNERING;
+ case 129:
+ return Position.ALARM_BRAKING;
+ case 130:
+ return Position.ALARM_ACCELERATION;
+ case 135:
+ return Position.ALARM_FATIGUE_DRIVING;
default:
return null;
}