aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-09-13 23:11:45 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-09-13 23:11:45 +1200
commitd454901a5ff831eaee30db23df12556b6442693a (patch)
tree29fb0d9e3ad41df9f17a81f3753de056e7740a6b /test/org/traccar
parenta51050b4e12cb5b72c9ab42acc4eccbf5b6531a9 (diff)
downloadtrackermap-server-d454901a5ff831eaee30db23df12556b6442693a.tar.gz
trackermap-server-d454901a5ff831eaee30db23df12556b6442693a.tar.bz2
trackermap-server-d454901a5ff831eaee30db23df12556b6442693a.zip
Improve H02 decoder text pattern
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/H02ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
index d147cdec2..e4db2f56f 100644
--- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class H02ProtocolDecoderTest extends ProtocolTest {
H02ProtocolDecoder decoder = new H02ProtocolDecoder(new H02Protocol());
verifyPosition(decoder, buffer(
+ "*HQ,4209917484,V19,093043,V,5052.9749,N,00426.4322,E,000.00,000,130916,,0032475874141,8944538530000543700F,FFFFFBFF#"));
+
+ verifyPosition(decoder, buffer(
"*HQ,353505220873067,V1,,V,4605.75732,N,01430.73863,E,0.00,0,,FFFFFFEF,125,194, 64,d3#"));
verifyPosition(decoder, buffer(