diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-23 10:44:04 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-23 10:44:04 +1300 |
commit | 7a857c727ac11f0c48c7213c81b37aa0d8ef5675 (patch) | |
tree | 70ae4ce0ac40f9269784a2a1fb852291cfac3d9f /src/org/traccar | |
parent | 65d0cdf1a38861ac4a53b9c7fa6489c20c179df6 (diff) | |
download | trackermap-server-7a857c727ac11f0c48c7213c81b37aa0d8ef5675.tar.gz trackermap-server-7a857c727ac11f0c48c7213c81b37aa0d8ef5675.tar.bz2 trackermap-server-7a857c727ac11f0c48c7213c81b37aa0d8ef5675.zip |
Update H002 protocol
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/Pt60ProtocolDecoder.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Pt60ProtocolDecoder.java b/src/org/traccar/protocol/Pt60ProtocolDecoder.java index 51a916475..636d9e27e 100644 --- a/src/org/traccar/protocol/Pt60ProtocolDecoder.java +++ b/src/org/traccar/protocol/Pt60ProtocolDecoder.java @@ -48,6 +48,7 @@ public class Pt60ProtocolDecoder extends BaseProtocolDecoder { .number("(d+)[,|]") // imei .number("d+[,|]") // imsi .groupBegin() + .expression("[^,|]+[,|]").optional() // firmware version .number("[01][,|]") // state .number("d+[,|]") // battery .groupEnd("?") |