diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-11-30 16:22:20 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-30 16:22:20 +1300 |
commit | a37ade7f1bd6a0c5ab8b6c603734f94afad9337f (patch) | |
tree | 2cfafdab5a1436af478068bbd7d6683d54f88517 /src/org/traccar/protocol | |
parent | e12632548a71345acc0349ba9db1321cfa628911 (diff) | |
parent | f8ccdd8345b010310e45f80608ef2937002231a2 (diff) | |
download | traccar-server-a37ade7f1bd6a0c5ab8b6c603734f94afad9337f.tar.gz traccar-server-a37ade7f1bd6a0c5ab8b6c603734f94afad9337f.tar.bz2 traccar-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')
-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;
}
|