aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-03-23 09:38:30 -0700
committerAnton Tananaev <anton@traccar.org>2023-03-23 09:38:30 -0700
commit7c2f9e56ba5f699d22ec2939408357b5a220bacc (patch)
tree0268679f8e14a7b76ecf8554d4a73b4427580482 /src/main/java/org/traccar/protocol
parentf73263da4800f86203e1aa425b0b7d3243d4b7c3 (diff)
downloadtrackermap-server-7c2f9e56ba5f699d22ec2939408357b5a220bacc.tar.gz
trackermap-server-7c2f9e56ba5f699d22ec2939408357b5a220bacc.tar.bz2
trackermap-server-7c2f9e56ba5f699d22ec2939408357b5a220bacc.zip
Fix Wialon parameter decoding
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r--src/main/java/org/traccar/protocol/WialonProtocolDecoder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/WialonProtocolDecoder.java b/src/main/java/org/traccar/protocol/WialonProtocolDecoder.java
index ffa4472ef..4d1b34dba 100644
--- a/src/main/java/org/traccar/protocol/WialonProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/WialonProtocolDecoder.java
@@ -63,8 +63,9 @@ public class WialonProtocolDecoder extends BaseProtocolDecoder {
.number("(?:NA|(d+));") // outputs
.expression("(?:NA|([^;]*));") // adc
.expression("(?:NA|([^;]*));") // ibutton
- .expression("(?:NA|(.*))") // params
+ .expression("(?:NA|([^;]*))") // params
.groupEnd("?")
+ .any()
.compile();
private void sendResponse(Channel channel, SocketAddress remoteAddress, String type, Integer number) {