aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-05-21 23:09:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-05-21 23:09:02 +1200
commit1db9f7f27f9d4779dbd1a4a55a3be450604204a4 (patch)
tree89649ae403abae93068347ec5918ed3b336c0ce9 /src/org
parent7b37d4f85a5a2c751f26860ccdb700e3ba42644a (diff)
downloadtraccar-server-1db9f7f27f9d4779dbd1a4a55a3be450604204a4.tar.gz
traccar-server-1db9f7f27f9d4779dbd1a4a55a3be450604204a4.tar.bz2
traccar-server-1db9f7f27f9d4779dbd1a4a55a3be450604204a4.zip
Fix Meitrack decoder (fix #419)
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/MeitrackProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/org/traccar/protocol/MeitrackProtocolDecoder.java
index ab12d510b..7f63b4b64 100644
--- a/src/org/traccar/protocol/MeitrackProtocolDecoder.java
+++ b/src/org/traccar/protocol/MeitrackProtocolDecoder.java
@@ -65,7 +65,7 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder {
"(\\p{XDigit}+)?\\|" + // ADC3
"(\\p{XDigit}+)\\|" + // Battery
"(\\p{XDigit}+)," + // Power
- ".*"); // TODO: parse other stuff
+ ".*(\r\n)?");
private Position decodeRegularMessage(ChannelBuffer buf) {