diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-08 23:56:00 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-08 23:56:00 +1200 |
commit | 12586966b63f58e5a008b17f8689110fcd3f5809 (patch) | |
tree | 26ffd483167487a8d87113bec0d2d764a2a6aeca /test/org | |
parent | 2721bf4adc12eeacf19c00af30e266ae65e6a4a9 (diff) | |
download | traccar-server-12586966b63f58e5a008b17f8689110fcd3f5809.tar.gz traccar-server-12586966b63f58e5a008b17f8689110fcd3f5809.tar.bz2 traccar-server-12586966b63f58e5a008b17f8689110fcd3f5809.zip |
Fix H02 simple message decoding
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/H02ProtocolDecoderTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/test/org/traccar/protocol/H02ProtocolDecoderTest.java index 0b90a4767..103746e5e 100644 --- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java @@ -12,9 +12,12 @@ public class H02ProtocolDecoderTest extends ProtocolTest { H02ProtocolDecoder decoder = new H02ProtocolDecoder(new H02Protocol()); verifyPosition(decoder, buffer( + "*hq,356327080425330,VP1,A,2702.7245,S,15251.9311,E,0.48,0.0000,080917#")); + + verifyPosition(decoder, buffer( "*HQ,4209951296,V19,214452,A,5201.0178,N,01830.5029,E,000.00,000,200417,,195.63.13.195,89480610500392633029,BFFFFBFF#")); - verifyNull(decoder, buffer( + verifyPosition(decoder, buffer( "*hq,356327080425330,VP1,A,2702.7215,S,15251.9309,E,0.62,0.0000,050917#")); verifyNull(decoder, buffer( |