aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.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/Gt06ProtocolDecoder.java
parentfb60f434eccef5e4d0f9e3e9eca75ca73d01d2bd (diff)
downloadtraccar-server-e046f7dd34a000f8c56671a0f344e9c56fcaf899.tar.gz
traccar-server-e046f7dd34a000f8c56671a0f344e9c56fcaf899.tar.bz2
traccar-server-e046f7dd34a000f8c56671a0f344e9c56fcaf899.zip
Merge shock and vibration alarms
Diffstat (limited to 'src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
index 4c71d3724..45218aba2 100644
--- a/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
@@ -319,7 +319,7 @@ public class Gt06ProtocolDecoder extends BaseProtocolDecoder {
switch (BitUtil.between(status, 3, 6)) {
case 1:
- position.set(Position.KEY_ALARM, Position.ALARM_SHOCK);
+ position.set(Position.KEY_ALARM, Position.ALARM_VIBRATION);
break;
case 2:
position.set(Position.KEY_ALARM, Position.ALARM_POWER_CUT);