aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/C2stekProtocolDecoder.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/C2stekProtocolDecoder.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/C2stekProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/C2stekProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/C2stekProtocolDecoder.java b/src/main/java/org/traccar/protocol/C2stekProtocolDecoder.java
index 6a31cb2f4..83e62ff86 100644
--- a/src/main/java/org/traccar/protocol/C2stekProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/C2stekProtocolDecoder.java
@@ -60,7 +60,7 @@ public class C2stekProtocolDecoder extends BaseProtocolDecoder {
private String decodeAlarm(int alarm) {
switch (alarm) {
case 0x2:
- return Position.ALARM_SHOCK;
+ return Position.ALARM_VIBRATION;
case 0x3:
return Position.ALARM_POWER_CUT;
case 0x4: