diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-07 20:18:46 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-07 20:18:46 -0700 |
commit | 7cb94b3b5b307129cbbdce30bbb77ace6cbb1bd3 (patch) | |
tree | a739441169092369e083ce683aebfb113066e4fa /src/main/java/org/traccar/protocol | |
parent | df9061e1db8195ca37c9106dbf53ad02dd818165 (diff) | |
download | trackermap-server-7cb94b3b5b307129cbbdce30bbb77ace6cbb1bd3.tar.gz trackermap-server-7cb94b3b5b307129cbbdce30bbb77ace6cbb1bd3.tar.bz2 trackermap-server-7cb94b3b5b307129cbbdce30bbb77ace6cbb1bd3.zip |
Decode missing alerts
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r-- | src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java b/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java index 5472b272d..451b9ba32 100644 --- a/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java @@ -181,12 +181,14 @@ public class SuntechProtocolDecoder extends BaseProtocolDecoder { return Position.ALARM_SHOCK; case 16: return Position.ALARM_ACCIDENT; + case 40: + return Position.ALARM_POWER_RESTORED; + case 41: + return Position.ALARM_POWER_CUT; case 46: return Position.ALARM_ACCELERATION; case 47: return Position.ALARM_BRAKING; - case 48: - return Position.ALARM_ACCIDENT; case 50: return Position.ALARM_JAMMING; default: |