aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java6
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: