diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-01-14 23:58:08 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-01-14 23:58:08 -0800 |
commit | 26624eddad40c1533d09471c8e80b4cbd9143590 (patch) | |
tree | 909b0bd0480f19848a94958f5e437ba5aa892a4d /src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java | |
parent | 3e2124609d98678daf2881428dd857a8573b6b96 (diff) | |
download | traccar-server-26624eddad40c1533d09471c8e80b4cbd9143590.tar.gz traccar-server-26624eddad40c1533d09471c8e80b4cbd9143590.tar.bz2 traccar-server-26624eddad40c1533d09471c8e80b4cbd9143590.zip |
Fix Teltonika alarm
Diffstat (limited to 'src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java | 2 |
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: |