aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/T55ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-05-08 13:13:46 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2018-05-08 13:13:46 -0700
commite35ba89765eda5919870b3dfe43230974cf77a5e (patch)
tree5dbf7038b14ed37f21d8d46aeaa5bb9cfbd16822 /src/org/traccar/protocol/T55ProtocolDecoder.java
parentbf64e10bf3062a2d76dd2302f3c169e8f7478aa1 (diff)
downloadtrackermap-server-e35ba89765eda5919870b3dfe43230974cf77a5e.tar.gz
trackermap-server-e35ba89765eda5919870b3dfe43230974cf77a5e.tar.bz2
trackermap-server-e35ba89765eda5919870b3dfe43230974cf77a5e.zip
Handle partial GPRMC sentence
Diffstat (limited to 'src/org/traccar/protocol/T55ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/T55ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/T55ProtocolDecoder.java b/src/org/traccar/protocol/T55ProtocolDecoder.java
index be3cb5f67..dfe0d541f 100644
--- a/src/org/traccar/protocol/T55ProtocolDecoder.java
+++ b/src/org/traccar/protocol/T55ProtocolDecoder.java
@@ -53,7 +53,7 @@ public class T55ProtocolDecoder extends BaseProtocolDecoder {
.number(",(d+)") // imei
.expression(",([01])") // ignition
.number(",(d+)") // fuel
- .number(",(d+)").optional(5) // battery
+ .number(",(d+)").optional(7) // battery
.number("((?:,d+)+)?") // parameters
.any()
.compile();