diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-05-19 06:15:30 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-05-19 06:15:30 +1200 |
commit | f523e3b995f5f1895cf3dea700be34f4b74dccf9 (patch) | |
tree | 8d8665fef2a40a7f8a88f284ec2bded223dc0aef /src/org | |
parent | 92d00e9c9b50b438565896c05046674737c7ec62 (diff) | |
download | traccar-server-f523e3b995f5f1895cf3dea700be34f4b74dccf9.tar.gz traccar-server-f523e3b995f5f1895cf3dea700be34f4b74dccf9.tar.bz2 traccar-server-f523e3b995f5f1895cf3dea700be34f4b74dccf9.zip |
Add GL200 geofence alarm
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/protocol/Gl200ProtocolDecoder.java | 3 |
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); |