aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-11-25 21:01:42 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-11-25 21:01:42 -0800
commit2ed7fb6e8f04c8fcee0e600446deaeda6cd4a86f (patch)
treea032871201a7c7eca2371a06d05ee62a2a67b145 /src
parent91a83142c78e0c5927a4eb4a3604d8524e77baa3 (diff)
downloadtrackermap-server-2ed7fb6e8f04c8fcee0e600446deaeda6cd4a86f.tar.gz
trackermap-server-2ed7fb6e8f04c8fcee0e600446deaeda6cd4a86f.tar.bz2
trackermap-server-2ed7fb6e8f04c8fcee0e600446deaeda6cd4a86f.zip
Fix ack response
Diffstat (limited to 'src')
-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 0878e65af..f543ccdb3 100644
--- a/src/main/java/org/traccar/protocol/TaipProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TaipProtocolDecoder.java
@@ -308,7 +308,7 @@ public class TaipProtocolDecoder extends BaseProtocolDecoder {
if (channel != null) {
if (messageIndex != null) {
String response;
- if (messageIndex.startsWith("#IP:")) {
+ if (messageIndex.startsWith("#IP")) {
response = ">SAK;ID=" + uniqueId + ";" + messageIndex + "<";
} else {
response = ">ACK;ID=" + uniqueId + ";" + messageIndex + ";*";