aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-12 09:13:02 +1100
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-12 09:13:02 +1100
commit9b11013c2376ad0401c194d5cfa0014e0a08502e (patch)
tree5e394d3fdc5723d13d708d84b5842eb9f0046561 /src
parent58aace7ede3efa557ec125470c50161e7cfae97a (diff)
downloadtrackermap-server-9b11013c2376ad0401c194d5cfa0014e0a08502e.tar.gz
trackermap-server-9b11013c2376ad0401c194d5cfa0014e0a08502e.tar.bz2
trackermap-server-9b11013c2376ad0401c194d5cfa0014e0a08502e.zip
Send index 0 for Castel response
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/CastelProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CastelProtocolDecoder.java b/src/org/traccar/protocol/CastelProtocolDecoder.java
index 209862d1d..3179cbd78 100644
--- a/src/org/traccar/protocol/CastelProtocolDecoder.java
+++ b/src/org/traccar/protocol/CastelProtocolDecoder.java
@@ -142,7 +142,7 @@ public class CastelProtocolDecoder extends BaseProtocolDecoder {
response.writeShort(length);
response.writeBytes(id);
response.writeShort(ChannelBuffers.swapShort((short) 0x1001));
- response.writeInt((int) (System.currentTimeMillis() / 1000));
+ response.writeInt(0);
for (int i = 0; i < 8; i++) {
response.writeByte(0xff);
}