From f8ccdd8345b010310e45f80608ef2937002231a2 Mon Sep 17 00:00:00 2001 From: Abraham Toriz Date: Wed, 29 Nov 2017 11:03:16 -0600 Subject: handle cut power alarm for pt502 --- src/org/traccar/protocol/Pt502ProtocolDecoder.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/org') 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; } -- cgit v1.2.3