aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-09-11 18:57:47 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-09-11 18:57:47 -0700
commitf089fe842ad3fb69550bcb65fee2f0377cc7bab0 (patch)
tree9c92d2337b0168b99536e918fde0e1c500d1dbc5
parentf7b98d5ae86029361629c55d5b7ffc7dcdd0ed99 (diff)
downloadtraccar-server-f089fe842ad3fb69550bcb65fee2f0377cc7bab0.tar.gz
traccar-server-f089fe842ad3fb69550bcb65fee2f0377cc7bab0.tar.bz2
traccar-server-f089fe842ad3fb69550bcb65fee2f0377cc7bab0.zip
Fix response
-rw-r--r--src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java b/src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java
index b2272a128..0e9685356 100644
--- a/src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java
@@ -78,6 +78,7 @@ public class NavtelecomProtocolDecoder extends BaseProtocolDecoder {
buf.skipBytes(6);
ByteBuf payload = Unpooled.buffer();
+ payload.writeCharSequence("*<FLEX", StandardCharsets.US_ASCII);
payload.writeByte(buf.readUnsignedByte()); // protocol
payload.writeByte(buf.readUnsignedByte()); // protocol version
payload.writeByte(buf.readUnsignedByte()); // struct version