aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAbraham Toriz <awonderfulcode@gmail.com>2017-11-29 11:03:16 -0600
committerAbraham Toriz <awonderfulcode@gmail.com>2017-11-29 11:07:49 -0600
commitf8ccdd8345b010310e45f80608ef2937002231a2 (patch)
tree2cfafdab5a1436af478068bbd7d6683d54f88517 /src/org/traccar
parente12632548a71345acc0349ba9db1321cfa628911 (diff)
downloadtraccar-server-f8ccdd8345b010310e45f80608ef2937002231a2.tar.gz
traccar-server-f8ccdd8345b010310e45f80608ef2937002231a2.tar.bz2
traccar-server-f8ccdd8345b010310e45f80608ef2937002231a2.zip
handle cut power alarm for pt502
Diffstat (limited to 'src/org/traccar')
-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;
}