diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2014-11-14 12:30:58 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2014-11-14 12:30:58 +1300 |
commit | 74f88cf2cc40680869233bcdb97cece139985f96 (patch) | |
tree | 9fbd74242d353b0ff2d646e6ef3f3c4371c6e1cd /src/org | |
parent | edc4c0bee03a9f170eafc3a14503203aab39c527 (diff) | |
download | traccar-server-74f88cf2cc40680869233bcdb97cece139985f96.tar.gz traccar-server-74f88cf2cc40680869233bcdb97cece139985f96.tar.bz2 traccar-server-74f88cf2cc40680869233bcdb97cece139985f96.zip |
Update Haicom decoder
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/protocol/HaicomProtocolDecoder.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/HaicomProtocolDecoder.java b/src/org/traccar/protocol/HaicomProtocolDecoder.java index 3531ce0d0..078ee9ae6 100644 --- a/src/org/traccar/protocol/HaicomProtocolDecoder.java +++ b/src/org/traccar/protocol/HaicomProtocolDecoder.java @@ -48,12 +48,12 @@ public class HaicomProtocolDecoder extends BaseProtocolDecoder { "(\\d+)," + // Speed "(\\d+)," + // Course "(\\d+)," + // Status - "(\\d*)," + // GPRS counting value - "(\\d*)," + // GPS power saving counting value + "(\\d+)?," + // GPRS counting value + "(\\d+)?," + // GPS power saving counting value "(\\d+)," + // Switch status "(\\d+)" + // Relay status - "[LH]{0,2}" + // Power status - "\\#V(\\d+)"); // Battery + "(?:[LH]{2})?" + // Power status + "\\#V(\\d+).*"); // Battery @Override protected Object decode( |