aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-10-31 16:23:20 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-10-31 16:23:20 -0700
commite046f7dd34a000f8c56671a0f344e9c56fcaf899 (patch)
tree21bcfe2d097d476ca8b08820a714c3cf7c082a35 /src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java
parentfb60f434eccef5e4d0f9e3e9eca75ca73d01d2bd (diff)
downloadtrackermap-server-e046f7dd34a000f8c56671a0f344e9c56fcaf899.tar.gz
trackermap-server-e046f7dd34a000f8c56671a0f344e9c56fcaf899.tar.bz2
trackermap-server-e046f7dd34a000f8c56671a0f344e9c56fcaf899.zip
Merge shock and vibration alarms
Diffstat (limited to 'src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java b/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java
index 0e829e7f7..2d00ea81e 100644
--- a/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java
@@ -161,7 +161,7 @@ public class SuntechProtocolDecoder extends BaseProtocolDecoder {
case 7:
return Position.ALARM_MOVEMENT;
case 8:
- return Position.ALARM_SHOCK;
+ return Position.ALARM_VIBRATION;
default:
return null;
}
@@ -178,7 +178,7 @@ public class SuntechProtocolDecoder extends BaseProtocolDecoder {
case 14:
return Position.ALARM_LOW_BATTERY;
case 15:
- return Position.ALARM_SHOCK;
+ return Position.ALARM_VIBRATION;
case 16:
return Position.ALARM_ACCIDENT;
case 40: