diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-10-28 21:05:56 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-10-28 21:05:56 +1300 |
commit | 9bc7deb97f2751ee0fd7e5ba198d2c030d149e01 (patch) | |
tree | 75acd9fe2aa773d1b802cfe7d42e200d4e5eddac /src/org/traccar/protocol/Pt502ProtocolDecoder.java | |
parent | 7ee3f22184bfe4ed61f6a0eaf2f52116ac02b2ee (diff) | |
download | trackermap-server-9bc7deb97f2751ee0fd7e5ba198d2c030d149e01.tar.gz trackermap-server-9bc7deb97f2751ee0fd7e5ba198d2c030d149e01.tar.bz2 trackermap-server-9bc7deb97f2751ee0fd7e5ba198d2c030d149e01.zip |
Extend Bofan PT600 support
Diffstat (limited to 'src/org/traccar/protocol/Pt502ProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/Pt502ProtocolDecoder.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Pt502ProtocolDecoder.java b/src/org/traccar/protocol/Pt502ProtocolDecoder.java index fef5d9b39..1d976dcd5 100644 --- a/src/org/traccar/protocol/Pt502ProtocolDecoder.java +++ b/src/org/traccar/protocol/Pt502ProtocolDecoder.java @@ -62,6 +62,10 @@ public class Pt502ProtocolDecoder extends BaseProtocolDecoder { private String decodeAlarm(String value) {
switch (value) {
+ case "IN1":
+ return Position.ALARM_SOS;
+ case "GOF":
+ return Position.ALARM_GEOFENCE;
case "TOW":
return Position.ALARM_TOW;
case "HDA":
|