From ccefc3b345e0943bedf49ce515106b1f210971f1 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 22 Oct 2015 16:46:57 +1300 Subject: Fix GT06 decoder hemisphere issue --- test/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/org/traccar/protocol/Gt06ProtocolDecoderTest.java') diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java index e95d55e23..7d5e731fc 100644 --- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -20,6 +20,10 @@ public class Gt06ProtocolDecoderTest extends ProtocolDecoderTest { verifyAttributes(decoder, binary( "78780a13440604000201baaf540d0a")); + verifyPosition(decoder, binary( + "78781f120f0a140e150bc505e51e780293a9e800540000f601006e0055da00035f240d0a"), + position("2015-10-21 03:20:42", true, 54.94535, 24.01762)); + verifyPosition(decoder, binary( "787823120f081b121d37cb01c8e2cc08afd3c020d50201940701d600a1190041ee100576d1470d0a")); -- cgit v1.2.3