aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-12-29 09:17:04 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2018-12-29 09:17:04 -0800
commitd5049fcf996abc1972620c53906579025f1c1153 (patch)
tree91439164014b6f243a0b3cb16e83353a613fd4d6 /src/org
parentfceb580895aebfbf6c9f506dcfa56c21e4222e54 (diff)
downloadtraccar-server-d5049fcf996abc1972620c53906579025f1c1153.tar.gz
traccar-server-d5049fcf996abc1972620c53906579025f1c1153.tar.bz2
traccar-server-d5049fcf996abc1972620c53906579025f1c1153.zip
Wristband respond with active mode
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/WristbandProtocolDecoder.java2
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("\\|")) {