aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-11-18 06:06:46 -0800
committerAnton Tananaev <anton@traccar.org>2023-11-18 06:06:46 -0800
commitb3463d2bb53dbb31d8b4aae58444fca353a3eca9 (patch)
tree73a3a6c00a25567ae8ddfa340254c9d3b8fa5c36 /src/main/java
parenta9ba9a58a868309a9fc83cdb8710159c7786ca32 (diff)
downloadtrackermap-server-b3463d2bb53dbb31d8b4aae58444fca353a3eca9.tar.gz
trackermap-server-b3463d2bb53dbb31d8b4aae58444fca353a3eca9.tar.bz2
trackermap-server-b3463d2bb53dbb31d8b4aae58444fca353a3eca9.zip
Modify TAIP ACK order
Diffstat (limited to 'src/main/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 831910ab6..72090df8b 100644
--- a/src/main/java/org/traccar/protocol/TaipProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TaipProtocolDecoder.java
@@ -317,7 +317,7 @@ public class TaipProtocolDecoder extends BaseProtocolDecoder {
if (messageIndex.startsWith("#IP")) {
response = ">SAK;ID=" + uniqueId + ";" + messageIndex + "<";
} else {
- response = ">ACK;ID=" + uniqueId + ";" + messageIndex + ";*";
+ response = ">ACK;" + messageIndex + ";ID=" + uniqueId + ";*";
response += String.format("%02X", Checksum.xor(response)) + "<";
}
channel.writeAndFlush(new NetworkMessage(response, remoteAddress));