diff options
author | Anton Tananaev <anton@traccar.org> | 2022-12-02 16:38:38 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-12-02 16:38:38 -0800 |
commit | 36579b977f34dd5393aef19b63160fb1ffba09f4 (patch) | |
tree | 05b27a7b60722af142ffc616abb3738b17a30751 /src/main/java/org | |
parent | 9be95552c1914630a6a4936686887d201d8f2a60 (diff) | |
download | trackermap-server-36579b977f34dd5393aef19b63160fb1ffba09f4.tar.gz trackermap-server-36579b977f34dd5393aef19b63160fb1ffba09f4.tar.bz2 trackermap-server-36579b977f34dd5393aef19b63160fb1ffba09f4.zip |
Fix DualCam init response
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/traccar/protocol/DualcamProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/DualcamProtocolDecoder.java b/src/main/java/org/traccar/protocol/DualcamProtocolDecoder.java index e646c4e4a..d03f7648d 100644 --- a/src/main/java/org/traccar/protocol/DualcamProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/DualcamProtocolDecoder.java @@ -84,7 +84,7 @@ public class DualcamProtocolDecoder extends BaseProtocolDecoder { response.writeShort(file.length()); response.writeCharSequence(file, StandardCharsets.US_ASCII); } else { - response.writeShort(MSG_COMPLETE); + response.writeShort(MSG_INIT); } channel.writeAndFlush(new NetworkMessage(response, remoteAddress)); } |