aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-09-13 15:23:51 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-09-13 15:23:51 -0700
commite454daf2bdef1ec13ab30fad36bbb330f1ddd6d0 (patch)
tree0b3a5dbac2010028b64cbde64a68a53b101fd255 /src
parentfc814d4a23d4aee1dfa12f59967c57c2ae79a516 (diff)
downloadtrackermap-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.java2
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));
}
}