aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-02 05:06:11 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-02 05:06:11 +1300
commitb39ade422f42d5423db203dab87886d3f8f63dd1 (patch)
tree7dd6b3b44aea89b4208ca599e96425cb8c54da33 /src/org/traccar
parent6782f2ee534494aa24dc73299f71e4227077e037 (diff)
downloadtraccar-server-b39ade422f42d5423db203dab87886d3f8f63dd1.tar.gz
traccar-server-b39ade422f42d5423db203dab87886d3f8f63dd1.tar.bz2
traccar-server-b39ade422f42d5423db203dab87886d3f8f63dd1.zip
Add GPS103 power cut alarm
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/Gps103ProtocolDecoder.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
index 57dc784d3..d929ae917 100644
--- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
@@ -119,6 +119,8 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder {
return Position.ALARM_POWER_OFF;
case "door alarm":
return Position.ALARM_DOOR;
+ case "ac alarm":
+ return Position.ALARM_POWER_CUT;
default:
return null;
}