diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-05-30 06:27:22 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-05-30 06:27:22 +1200 |
commit | e3bd8d28436195efe640c4214028566bc2643db1 (patch) | |
tree | 2cdaa4f4067f93f44ad6325aa7b163cf9467cf71 /src | |
parent | f439d7b06285ce442cd721391aadede3ff6ac702 (diff) | |
download | traccar-server-e3bd8d28436195efe640c4214028566bc2643db1.tar.gz traccar-server-e3bd8d28436195efe640c4214028566bc2643db1.tar.bz2 traccar-server-e3bd8d28436195efe640c4214028566bc2643db1.zip |
Support WP-30C protocol
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/L100ProtocolDecoder.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/L100ProtocolDecoder.java b/src/org/traccar/protocol/L100ProtocolDecoder.java index 1fe18ff5e..fe2c298e1 100644 --- a/src/org/traccar/protocol/L100ProtocolDecoder.java +++ b/src/org/traccar/protocol/L100ProtocolDecoder.java @@ -54,14 +54,15 @@ public class L100ProtocolDecoder extends BaseProtocolDecoder { .number("(d+.?d*|N.C),") // adc .expression("[^,]*,") // reserved .expression("[^,]*,") // reserved - .number("(d+.d+),") // odometer - .number("(d+.d+),") // temperature - .number("(d+.d+),") // battery + .number("(d+.?d*),") // odometer + .number("(d+.?d*),") // temperature + .number("(d+.?d*),") // battery .number("(d+),") // rssi .number("(d+),") // mcc .number("(d+),") // mnc .number("(x+),") // lac .number("(x+)") // cid + .any() .text("ATL") .compile(); |