diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-05-08 13:13:46 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-05-08 13:13:46 -0700 |
commit | e35ba89765eda5919870b3dfe43230974cf77a5e (patch) | |
tree | 5dbf7038b14ed37f21d8d46aeaa5bb9cfbd16822 /src/org/traccar/protocol/T55ProtocolDecoder.java | |
parent | bf64e10bf3062a2d76dd2302f3c169e8f7478aa1 (diff) | |
download | trackermap-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.java | 2 |
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(); |