diff options
author | Anton Tananaev <anton@traccar.org> | 2022-12-14 17:09:40 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-12-14 17:09:40 -0800 |
commit | a4a4907730667425f6f56ace1f79ee8692b9a26c (patch) | |
tree | 05485064cb10ffa9acd9e58e17e3bd6d7185e5ac /src/test/java/org | |
parent | 3b36ac38a0c4e193ea8085eb5556dffd8205bb17 (diff) | |
download | trackermap-server-a4a4907730667425f6f56ace1f79ee8692b9a26c.tar.gz trackermap-server-a4a4907730667425f6f56ace1f79ee8692b9a26c.tar.bz2 trackermap-server-a4a4907730667425f6f56ace1f79ee8692b9a26c.zip |
Add H02 test case
Diffstat (limited to 'src/test/java/org')
-rw-r--r-- | src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java index 278931466..e68f0814c 100644 --- a/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java @@ -12,6 +12,9 @@ public class H02ProtocolDecoderTest extends ProtocolTest { var decoder = inject(new H02ProtocolDecoder(null)); verifyPosition(decoder, buffer( + "*HQ,3177718238,V6,002926,V,3514.4088,N,9733.2842,W,0.00,0.00,151222,FFF7FBFF,310,260,32936,13641,8944501311217563382F,#")); + + verifyPosition(decoder, buffer( "*HQ,5905101893,V1,105759,A,37573392,S,145037022,E,000.00,173,280122,FF7FFBFF,,,9059e2c,8232,4#")); verifyPosition(decoder, buffer( |