aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/CellocatorProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-12-02 21:25:36 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2014-12-02 21:25:36 +1300
commit6ea412740d1573f237582d67542124ae9bd6509e (patch)
tree5dbb0d93b45b2bf92512916f575e68eca7cb695d /src/org/traccar/protocol/CellocatorProtocolDecoder.java
parent3ccb5c95e3b4483b9eeb7039119afbf9bd0617b8 (diff)
downloadtrackermap-server-6ea412740d1573f237582d67542124ae9bd6509e.tar.gz
trackermap-server-6ea412740d1573f237582d67542124ae9bd6509e.tar.bz2
trackermap-server-6ea412740d1573f237582d67542124ae9bd6509e.zip
Fix Cellocator ack message (fix #983)
Diffstat (limited to 'src/org/traccar/protocol/CellocatorProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/CellocatorProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CellocatorProtocolDecoder.java b/src/org/traccar/protocol/CellocatorProtocolDecoder.java
index 59350da22..178e17530 100644
--- a/src/org/traccar/protocol/CellocatorProtocolDecoder.java
+++ b/src/org/traccar/protocol/CellocatorProtocolDecoder.java
@@ -71,7 +71,7 @@ public class CellocatorProtocolDecoder extends BaseProtocolDecoder {
reply.writeInt(0); // authentication code
reply.writeByte(0);
reply.writeByte(packetNumber);
- reply.writeZero(10);
+ reply.writeZero(11);
byte checksum = 0;
for (int i = 4; i < 27; i++) {