diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-13 15:23:51 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-09-13 15:23:51 -0700 |
commit | e454daf2bdef1ec13ab30fad36bbb330f1ddd6d0 (patch) | |
tree | 0b3a5dbac2010028b64cbde64a68a53b101fd255 /src | |
parent | fc814d4a23d4aee1dfa12f59967c57c2ae79a516 (diff) | |
download | trackermap-server-e454daf2bdef1ec13ab30fad36bbb330f1ddd6d0.tar.gz trackermap-server-e454daf2bdef1ec13ab30fad36bbb330f1ddd6d0.tar.bz2 trackermap-server-e454daf2bdef1ec13ab30fad36bbb330f1ddd6d0.zip |
Fix Cellocator acknowledgement
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java b/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java index bc74b6576..09bd3572f 100644 --- a/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java @@ -73,7 +73,7 @@ public class CellocatorProtocolDecoder extends BaseProtocolDecoder { content.writeByte(packetNumber); content.writeZero(11); - ByteBuf reply = encodeContent(MSG_SERVER_ACKNOWLEDGE, (int) deviceId, packetNumber, content); + ByteBuf reply = encodeContent(MSG_SERVER_ACKNOWLEDGE, (int) deviceId, 0, content); channel.writeAndFlush(new NetworkMessage(reply, remoteAddress)); } } |