diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-12 09:13:02 +1100 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-02-12 09:13:02 +1100 |
commit | 9b11013c2376ad0401c194d5cfa0014e0a08502e (patch) | |
tree | 5e394d3fdc5723d13d708d84b5842eb9f0046561 /src | |
parent | 58aace7ede3efa557ec125470c50161e7cfae97a (diff) | |
download | trackermap-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.java | 2 |
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); } |