aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-19 06:15:30 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-05-19 06:15:30 +1200
commitf523e3b995f5f1895cf3dea700be34f4b74dccf9 (patch)
tree8d8665fef2a40a7f8a88f284ec2bded223dc0aef /src/org/traccar/protocol
parent92d00e9c9b50b438565896c05046674737c7ec62 (diff)
downloadtrackermap-server-f523e3b995f5f1895cf3dea700be34f4b74dccf9.tar.gz
trackermap-server-f523e3b995f5f1895cf3dea700be34f4b74dccf9.tar.bz2
trackermap-server-f523e3b995f5f1895cf3dea700be34f4b74dccf9.zip
Add GL200 geofence alarm
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/Gl200ProtocolDecoder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Gl200ProtocolDecoder.java b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
index 5f4dc3cbd..51e0a9789 100644
--- a/src/org/traccar/protocol/Gl200ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
@@ -777,6 +777,9 @@ public class Gl200ProtocolDecoder extends BaseProtocolDecoder {
case "STT":
position.set(Position.KEY_ALARM, Position.ALARM_MOVEMENT);
break;
+ case "SWG":
+ position.set(Position.KEY_ALARM, Position.ALARM_GEOFENCE);
+ break;
case "TMP":
case "TEM":
position.set(Position.KEY_ALARM, Position.ALARM_TEMPERATURE);