From 4d46aa335ad0f1985bf42d6a68904e2c594a50cf Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 30 May 2014 19:34:50 +1200 Subject: Fix Wondex decoder (fix #730) --- src/org/traccar/protocol/WondexProtocolDecoder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/org/traccar') 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( -- cgit v1.2.3