aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar')
-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 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);