diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-02 09:44:43 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-02 09:44:43 +1300 |
commit | 2d6533ef6ba4fd436c5737f3755dd34a4c08e8e7 (patch) | |
tree | cab00304ffdfcfbbfd8a8f673c7ad7e9f9e7309d | |
parent | f748f065a01fa984a41ca679ca05bcff97769b25 (diff) | |
download | trackermap-server-2d6533ef6ba4fd436c5737f3755dd34a4c08e8e7.tar.gz trackermap-server-2d6533ef6ba4fd436c5737f3755dd34a4c08e8e7.tar.bz2 trackermap-server-2d6533ef6ba4fd436c5737f3755dd34a4c08e8e7.zip |
Add H02 protocol LBS message sample
-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 be503cc65..6f7f6462d 100644 --- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class H02ProtocolDecoderTest extends ProtocolDecoderTest { H02ProtocolDecoder decoder = new H02ProtocolDecoder(new H02Protocol()); + verifyNothing(decoder, buffer( + "*HQ,1451316451,NBR,112315,724,10,2,2,215,2135,123,215,2131,121,011215,FFFFFFFF#")); + verifyPosition(decoder, buffer( "*HQ,1451316485,V1,121557,A,-23-3.3408,S,-48-2.8926,W,0.1,158,241115,FFFFFFFF#")); |