aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/FlespiProtocolDecoder.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/FlespiProtocolDecoder.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/FlespiProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/FlespiProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/FlespiProtocolDecoder.java b/src/main/java/org/traccar/protocol/FlespiProtocolDecoder.java
index 0a0d04db0..83ca74ce5 100644
--- a/src/main/java/org/traccar/protocol/FlespiProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/FlespiProtocolDecoder.java
@@ -190,7 +190,7 @@ public class FlespiProtocolDecoder extends BaseHttpProtocolDecoder {
return true;
case "shock.event.trigger":
if (value == JsonValue.TRUE) {
- position.set(Position.KEY_ALARM, Position.ALARM_SHOCK);
+ position.set(Position.KEY_ALARM, Position.ALARM_VIBRATION);
}
return true;
case "overspeeding.event.trigger":