aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/H02ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-14 01:56:26 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-14 01:56:26 +1300
commit4066c24ed1ba8749a1a682acb5b027401d0df70f (patch)
tree1a1a6499fc2b9fff57dc7067f6dd8101b22efad0 /test/org/traccar/protocol/H02ProtocolDecoderTest.java
parentb87fa6f361fd0c27383d78a503ed2c28a8bdef1a (diff)
downloadtrackermap-server-4066c24ed1ba8749a1a682acb5b027401d0df70f.tar.gz
trackermap-server-4066c24ed1ba8749a1a682acb5b027401d0df70f.tar.bz2
trackermap-server-4066c24ed1ba8749a1a682acb5b027401d0df70f.zip
Another attempt to fix H02 frame decoder
Diffstat (limited to 'test/org/traccar/protocol/H02ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/H02ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
index 48fe408d8..9fed9943c 100644
--- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -116,6 +116,9 @@ public class H02ProtocolDecoderTest extends ProtocolTest {
"*HQ,8401016597,BASE,152609,0,0,0,0,211014,FFFFFFFF#"));
verifyPosition(decoder, binary(
+ "2441060116601245431311165035313006004318210e000000fffffbffff0024"));
+
+ verifyPosition(decoder, binary(
"24410600082621532131081504419390060740418306000000fffffbfdff0015060000002c02dc0c000000001f"),
position("2015-08-31 21:53:21.000", true, 4.69898, -74.06971));