diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-11 18:57:47 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-09-11 18:57:47 -0700 |
commit | f089fe842ad3fb69550bcb65fee2f0377cc7bab0 (patch) | |
tree | 9c92d2337b0168b99536e918fde0e1c500d1dbc5 /src/main | |
parent | f7b98d5ae86029361629c55d5b7ffc7dcdd0ed99 (diff) | |
download | trackermap-server-f089fe842ad3fb69550bcb65fee2f0377cc7bab0.tar.gz trackermap-server-f089fe842ad3fb69550bcb65fee2f0377cc7bab0.tar.bz2 trackermap-server-f089fe842ad3fb69550bcb65fee2f0377cc7bab0.zip |
Fix response
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java | 1 |
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 |