From b95d93b27e6b1b22db89aac994131bac26362123 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 4 Apr 2017 02:27:57 +1200 Subject: Decode H02 additional data --- test/org/traccar/protocol/H02ProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar') diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/test/org/traccar/protocol/H02ProtocolDecoderTest.java index ad3a2e589..7498bbcd7 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,8161289587,V1,181933,A,5444.3994,N,02516.3844,E,000.05,000,090317,FFFFBBFF,246,03,00002,41565#")); + verifyPosition(decoder, binary( "2421305109380127171003170520046500100286297e003085ffffdfffff03440069129344006400001151415a20")); -- cgit v1.2.3