diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-01-22 23:45:14 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-01-22 23:45:14 -0800 |
commit | c8d39587a20ecc0d0b591fe09018e9d55694bf22 (patch) | |
tree | bb41b89a072bbdfd4c69c83b7eb1fa4b29e1d620 /test/org/traccar/protocol/H02ProtocolDecoderTest.java | |
parent | 4c876606ca3afa794366bcc0688fdafaa6b02f4f (diff) | |
download | traccar-server-c8d39587a20ecc0d0b591fe09018e9d55694bf22.tar.gz traccar-server-c8d39587a20ecc0d0b591fe09018e9d55694bf22.tar.bz2 traccar-server-c8d39587a20ecc0d0b591fe09018e9d55694bf22.zip |
Support another H02 LBS format
Diffstat (limited to 'test/org/traccar/protocol/H02ProtocolDecoderTest.java')
-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 acfb96c82..4a5eadf52 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(null); + verifyNotNull(decoder, buffer( + "*hq,356327081001239,VP1,V,470,002,92,3565,0Y92,19433,30Y92,1340,29#")); + verifyPosition(decoder, binary( "2435248308419329301047591808172627335900074412294E024138FEFFFFFFFF01120064BA73005ECC")); |