aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/TaipProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-06-02 22:08:28 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-06-02 22:08:28 -0700
commit60467dccc46dfdd3b32b342ead40652774f96451 (patch)
tree16ef74a438551720bd1c48be20262572a9e07dd8 /src/main/java/org/traccar/protocol/TaipProtocolDecoder.java
parent53b65b11f31e53c6d612aa56ebe94d29d649f934 (diff)
downloadtrackermap-server-60467dccc46dfdd3b32b342ead40652774f96451.tar.gz
trackermap-server-60467dccc46dfdd3b32b342ead40652774f96451.tar.bz2
trackermap-server-60467dccc46dfdd3b32b342ead40652774f96451.zip
Fix TAIP response
Diffstat (limited to 'src/main/java/org/traccar/protocol/TaipProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/TaipProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/TaipProtocolDecoder.java b/src/main/java/org/traccar/protocol/TaipProtocolDecoder.java
index 6f71b6c08..ec0ce1931 100644
--- a/src/main/java/org/traccar/protocol/TaipProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TaipProtocolDecoder.java
@@ -313,7 +313,7 @@ public class TaipProtocolDecoder extends BaseProtocolDecoder {
if (messageIndex != null) {
String response;
if (messageIndex.startsWith("#IP")) {
- response = "\u0020\u0020\u0006\u0000>SAK;ID=" + uniqueId + ";" + messageIndex + "<";
+ response = ">SAK;ID=" + uniqueId + ";" + messageIndex + "<";
} else {
response = ">ACK;ID=" + uniqueId + ";" + messageIndex + ";*";
response += String.format("%02X", Checksum.xor(response)) + "<";