aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}