aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-07-18 21:56:27 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2012-07-18 21:56:27 +0400
commitf4d3760c0d0523548dcaec42ba25f6a81a8c3254 (patch)
tree0431c7b2ed81e5b30f459763d69884e737428c70 /src
parent05e2bd3f8e2988d021a42b10a9f0617cda388da5 (diff)
downloadtraccar-server-f4d3760c0d0523548dcaec42ba25f6a81a8c3254.tar.gz
traccar-server-f4d3760c0d0523548dcaec42ba25f6a81a8c3254.tar.bz2
traccar-server-f4d3760c0d0523548dcaec42ba25f6a81a8c3254.zip
Fix enfora protocol (fix #26)
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/EnforaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/EnforaProtocolDecoder.java b/src/org/traccar/protocol/EnforaProtocolDecoder.java
index 196f16f05..2910108a5 100644
--- a/src/org/traccar/protocol/EnforaProtocolDecoder.java
+++ b/src/org/traccar/protocol/EnforaProtocolDecoder.java
@@ -54,7 +54,7 @@ public class EnforaProtocolDecoder extends GenericProtocolDecoder {
"(\\d+.\\d)?," + // Speed
"(\\d+.\\d)?," + // Course
"(\\d{2})(\\d{2})(\\d{2})," + // Date (DDMMYY)
- ".*[\r\n]*");
+ ".*[\r\n\u0000]*");
public static final int IMEI_LENGTH = 15;