diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-12-29 09:17:04 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-12-29 09:17:04 -0800 |
commit | d5049fcf996abc1972620c53906579025f1c1153 (patch) | |
tree | 91439164014b6f243a0b3cb16e83353a613fd4d6 /src/org/traccar/protocol/WristbandProtocolDecoder.java | |
parent | fceb580895aebfbf6c9f506dcfa56c21e4222e54 (diff) | |
download | trackermap-server-d5049fcf996abc1972620c53906579025f1c1153.tar.gz trackermap-server-d5049fcf996abc1972620c53906579025f1c1153.tar.bz2 trackermap-server-d5049fcf996abc1972620c53906579025f1c1153.zip |
Wristband respond with active mode
Diffstat (limited to 'src/org/traccar/protocol/WristbandProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/WristbandProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WristbandProtocolDecoder.java b/src/org/traccar/protocol/WristbandProtocolDecoder.java index b14e1b355..341690a0e 100644 --- a/src/org/traccar/protocol/WristbandProtocolDecoder.java +++ b/src/org/traccar/protocol/WristbandProtocolDecoder.java @@ -119,7 +119,7 @@ public class WristbandProtocolDecoder extends BaseProtocolDecoder { sendResponse(channel, imei, version, type, time + "|" + getServer(channel, ',')); break; case 1: - sendResponse(channel, imei, version, type, "0"); + sendResponse(channel, imei, version, type, "1"); break; case 2: for (String fragment : parser.next().split("\\|")) { |