diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-02 03:43:46 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-02 03:43:46 +1300 |
commit | 6782f2ee534494aa24dc73299f71e4227077e037 (patch) | |
tree | e1b5582037ded1319cf3fae90bc1fcdd75bfcc30 /test/org | |
parent | f63658504320cb96501cf83d698ba932840e315b (diff) | |
download | traccar-server-6782f2ee534494aa24dc73299f71e4227077e037.tar.gz traccar-server-6782f2ee534494aa24dc73299f71e4227077e037.tar.bz2 traccar-server-6782f2ee534494aa24dc73299f71e4227077e037.zip |
Decode H02 cell info
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/H02ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/test/org/traccar/protocol/H02ProtocolDecoderTest.java index b2e336076..d1b2d3198 100644 --- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class H02ProtocolDecoderTest extends ProtocolTest { H02ProtocolDecoder decoder = new H02ProtocolDecoder(new H02Protocol()); + verifyPosition(decoder, buffer( + "*HQ,353588020068342,V1,084436,A,3257.01525,N,00655.03865,W,57.78,40,011216,FFFBFFFF,25c,a, 154,b04c#")); + verifyNothing(decoder, buffer( "*HQ,356803210091319,BS,,2d4,a,1b63,1969,26,1b63,10b2,31,0,0,25,,ffffffff,60#")); |