aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-26 09:59:55 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-26 09:59:55 +1200
commitb7f1df549d57582c18b44f74a8af9739b29af040 (patch)
treeb43f088625b1fd3f720f938500216bd39f5aee1c /src/org/traccar
parent8a5afddcf7c4d9624045d8d5e8e323675dbe3a40 (diff)
downloadtraccar-server-b7f1df549d57582c18b44f74a8af9739b29af040.tar.gz
traccar-server-b7f1df549d57582c18b44f74a8af9739b29af040.tar.bz2
traccar-server-b7f1df549d57582c18b44f74a8af9739b29af040.zip
Improve GL200 regex pattern
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/Gl200ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gl200ProtocolDecoder.java b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
index 1392c56a8..59d09ae6a 100644
--- a/src/org/traccar/protocol/Gl200ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
@@ -61,7 +61,7 @@ public class Gl200ProtocolDecoder extends BaseProtocolDecoder {
"(\\p{XDigit}{4}|\\p{XDigit}{8})?," + // LAC
"(\\p{XDigit}{4})?," + // Cell
"(?:(\\d+\\.\\d)?," + // Odometer
- "(\\d{1,3})?)?" + // Battery
+ "(\\d{1,3})?,)?" + // Battery
".*," +
"(\\p{XDigit}{4})\\$?");