aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Pt502ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-11-30 16:22:20 +1300
committerGitHub <noreply@github.com>2017-11-30 16:22:20 +1300
commita37ade7f1bd6a0c5ab8b6c603734f94afad9337f (patch)
tree2cfafdab5a1436af478068bbd7d6683d54f88517 /src/org/traccar/protocol/Pt502ProtocolDecoder.java
parente12632548a71345acc0349ba9db1321cfa628911 (diff)
parentf8ccdd8345b010310e45f80608ef2937002231a2 (diff)
downloadtrackermap-server-a37ade7f1bd6a0c5ab8b6c603734f94afad9337f.tar.gz
trackermap-server-a37ade7f1bd6a0c5ab8b6c603734f94afad9337f.tar.bz2
trackermap-server-a37ade7f1bd6a0c5ab8b6c603734f94afad9337f.zip
Merge pull request #3663 from categulario/categulario/pt502-power-cut-alarm
handle cut power alarm for pt502
Diffstat (limited to 'src/org/traccar/protocol/Pt502ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Pt502ProtocolDecoder.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Pt502ProtocolDecoder.java b/src/org/traccar/protocol/Pt502ProtocolDecoder.java
index 1d976dcd5..330ba7643 100644
--- a/src/org/traccar/protocol/Pt502ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Pt502ProtocolDecoder.java
@@ -78,6 +78,8 @@ public class Pt502ProtocolDecoder extends BaseProtocolDecoder {
return Position.ALARM_VIBRATION;
case "PMA":
return Position.ALARM_MOVEMENT;
+ case "CPA":
+ return Position.ALARM_POWER_CUT;
default:
return null;
}