aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/WondexProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/WondexProtocolDecoder.java b/src/org/traccar/protocol/WondexProtocolDecoder.java
index 3ac3eef6b..a9c4ea4c1 100644
--- a/src/org/traccar/protocol/WondexProtocolDecoder.java
+++ b/src/org/traccar/protocol/WondexProtocolDecoder.java
@@ -42,7 +42,7 @@ public class WondexProtocolDecoder extends BaseProtocolDecoder {
"(-?\\d+\\.\\d+)," + // Latitude
"(\\d+)," + // Speed
"(\\d+)," + // Course
- "(-?\\d+)," + // Altitude
+ "(-?\\d+\\.?\\d*)," + // Altitude
"(\\d+)," + // Satellites
"(\\d+),?" + // Event
"(?:(\\d+\\.\\d+)V,)?" + // Battery
@@ -50,7 +50,7 @@ public class WondexProtocolDecoder extends BaseProtocolDecoder {
"(\\d+)?,?" + // Input
"(\\d+\\.\\d+)?,?" + // ADC1
"(\\d+\\.\\d+)?,?" + // ADC2
- "(\\d+)?"); // Output
+ "(\\d+)?.*"); // Output
@Override
protected Object decode(