aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-12-29 16:40:45 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2018-12-29 16:40:45 -0800
commit969ab169322f8a20f5c87b37eb3651914e4c5102 (patch)
treefc49dacf7a714f4c56edc5fc93ca202e90c70824
parentd4c8753543d65c4e7674d0f1ab3a78406311cf8d (diff)
downloadtrackermap-server-969ab169322f8a20f5c87b37eb3651914e4c5102.tar.gz
trackermap-server-969ab169322f8a20f5c87b37eb3651914e4c5102.tar.bz2
trackermap-server-969ab169322f8a20f5c87b37eb3651914e4c5102.zip
Another Wristband update
-rw-r--r--src/org/traccar/protocol/WristbandProtocolDecoder.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/WristbandProtocolDecoder.java b/src/org/traccar/protocol/WristbandProtocolDecoder.java
index 08e52c2d3..b93bbcfd1 100644
--- a/src/org/traccar/protocol/WristbandProtocolDecoder.java
+++ b/src/org/traccar/protocol/WristbandProtocolDecoder.java
@@ -119,6 +119,7 @@ public class WristbandProtocolDecoder extends BaseProtocolDecoder {
sendResponse(channel, imei, version, type, time + "|" + getServer(channel, ','));
break;
case 1:
+ case 64:
sendResponse(channel, imei, version, type, "1");
break;
case 2:
@@ -126,9 +127,6 @@ public class WristbandProtocolDecoder extends BaseProtocolDecoder {
positions.add(decodePosition(deviceSession, fragment));
}
break;
- case 64:
- sendResponse(channel, imei, version, type, "0");
- break;
default:
break;
}