diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-11 21:22:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-11 21:22:00 -0700 |
commit | ec21a2b8c2cc6acd6b0872b67aa0daccdb191321 (patch) | |
tree | c04f8f14a600ddc2ce20b194725888a30978b43c /src/main/java | |
parent | de0064122862373c1a5154f0e84863d4f45670ed (diff) | |
parent | 33e52d21803ccdd2de23c887b099047e49b24b6d (diff) | |
download | traccar-server-ec21a2b8c2cc6acd6b0872b67aa0daccdb191321.tar.gz traccar-server-ec21a2b8c2cc6acd6b0872b67aa0daccdb191321.tar.bz2 traccar-server-ec21a2b8c2cc6acd6b0872b67aa0daccdb191321.zip |
Merge pull request #4561 from matias-riv/teltonika-codec12-ack
[Teltonika] Fix wrong ACK on codec 12 and 13
Diffstat (limited to 'src/main/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 10cf1bee3..40b769869 100644 --- a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java @@ -624,7 +624,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder { } } - if (channel != null) { + if (channel != null && codec != CODEC_12 && codec != CODEC_13) { if (connectionless) { ByteBuf response = Unpooled.buffer(); response.writeShort(5); |