diff options
author | Abraham Toriz <awonderfulcode@gmail.com> | 2017-11-29 11:03:16 -0600 |
---|---|---|
committer | Abraham Toriz <awonderfulcode@gmail.com> | 2017-11-29 11:07:49 -0600 |
commit | f8ccdd8345b010310e45f80608ef2937002231a2 (patch) | |
tree | 2cfafdab5a1436af478068bbd7d6683d54f88517 /src/org/traccar/protocol | |
parent | e12632548a71345acc0349ba9db1321cfa628911 (diff) | |
download | traccar-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/protocol')
-rw-r--r-- | src/org/traccar/protocol/Pt502ProtocolDecoder.java | 2 |
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;
}
|