aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-10 11:35:05 +1300
committerGitHub <noreply@github.com>2016-11-10 11:35:05 +1300
commit96fc52072ba760d46520f7b7235bf9ac76c9869f (patch)
treef6105cbff0463c4a36787e32f241672eb2ab8603 /src/org/traccar/protocol
parent9d9dbcdd3229c6f852031d2e458aca194bcee8b9 (diff)
parent096259c2fe6311bde08b993b18631053b7652c99 (diff)
downloadtrackermap-server-96fc52072ba760d46520f7b7235bf9ac76c9869f.tar.gz
trackermap-server-96fc52072ba760d46520f7b7235bf9ac76c9869f.tar.bz2
trackermap-server-96fc52072ba760d46520f7b7235bf9ac76c9869f.zip
Merge pull request #2520 from vipien/master
Add acc on, acc off and door alarm to events from coban gps
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/Gps103ProtocolDecoder.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
index 7754bd831..57dc784d3 100644
--- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
@@ -113,6 +113,12 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder {
return Position.ALARM_MOVEMENT;
case "speed":
return Position.ALARM_OVERSPEED;
+ case "acc on":
+ return Position.ALARM_POWER_ON;
+ case "acc off":
+ return Position.ALARM_POWER_OFF;
+ case "door alarm":
+ return Position.ALARM_DOOR;
default:
return null;
}