aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-08-27 00:25:38 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-08-27 00:25:38 +1200
commit29f7a148e1ca09e0b0667b42776fe6d5e9c26502 (patch)
tree2a70956aa9826942e2203b5b8048a18958a08f8b /src
parent819bca366f89f237f19e52b7a916895ed1761fb9 (diff)
downloadtrackermap-server-29f7a148e1ca09e0b0667b42776fe6d5e9c26502.tar.gz
trackermap-server-29f7a148e1ca09e0b0667b42776fe6d5e9c26502.tar.bz2
trackermap-server-29f7a148e1ca09e0b0667b42776fe6d5e9c26502.zip
Add new VT1000 alarms (fix #3477)
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/MeiligaoProtocolDecoder.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
index dbbf61f71..1442f162b 100644
--- a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
+++ b/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
@@ -194,10 +194,16 @@ public class MeiligaoProtocolDecoder extends BaseProtocolDecoder {
return Position.ALARM_MOVEMENT;
case 0x13:
return Position.ALARM_GEOFENCE_ENTER;
+ case 0x14:
+ return Position.ALARM_ACCIDENT;
case 0x50:
return Position.ALARM_POWER_OFF;
case 0x53:
return Position.ALARM_GPS_ANTENNA_CUT;
+ case 0x72:
+ return Position.ALARM_BREAKING;
+ case 0x73:
+ return Position.ALARM_ACCELERATION;
default:
return null;
}