aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-01-14 23:58:08 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-01-14 23:58:08 -0800
commit26624eddad40c1533d09471c8e80b4cbd9143590 (patch)
tree909b0bd0480f19848a94958f5e437ba5aa892a4d
parent3e2124609d98678daf2881428dd857a8573b6b96 (diff)
downloadtraccar-server-26624eddad40c1533d09471c8e80b4cbd9143590.tar.gz
traccar-server-26624eddad40c1533d09471c8e80b4cbd9143590.tar.bz2
traccar-server-26624eddad40c1533d09471c8e80b4cbd9143590.zip
Fix Teltonika alarm
-rw-r--r--src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
index da60cf5d6..716589e00 100644
--- a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
@@ -285,7 +285,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder {
break;
case 236:
if (readValue(buf, length, false) == 1) {
- position.set(Position.KEY_ALARM, Position.ALARM_OVERSPEED);
+ position.set(Position.KEY_ALARM, Position.ALARM_GENERAL);
}
break;
case 239: