diff options
author | Matias Rivera <matiasrivera3@gmail.com> | 2020-07-11 23:27:44 -0400 |
---|---|---|
committer | Matias Rivera <matiasrivera3@gmail.com> | 2020-07-11 23:27:44 -0400 |
commit | 3ec1abb314f8c70fd5b163f4e263c499e511512d (patch) | |
tree | 029e0a0291670de8f1be375053b9aafb5aca7b94 | |
parent | de0064122862373c1a5154f0e84863d4f45670ed (diff) | |
download | trackermap-server-3ec1abb314f8c70fd5b163f4e263c499e511512d.tar.gz trackermap-server-3ec1abb314f8c70fd5b163f4e263c499e511512d.tar.bz2 trackermap-server-3ec1abb314f8c70fd5b163f4e263c499e511512d.zip |
Update TeltonikaProtocolDecoder.java
Fix wrong ACK sent when using codec12 or codec13. No ACK is needed at all.
-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..fbac5abaf 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); |