aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-22 16:46:57 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-22 16:46:57 +1300
commitccefc3b345e0943bedf49ce515106b1f210971f1 (patch)
tree53ce3503b90b2c6e695eafecb142a4ea71ab1a24 /test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
parent1ca95d099df96d576a0eaddc6e42b5b41aed3e06 (diff)
downloadtrackermap-server-ccefc3b345e0943bedf49ce515106b1f210971f1.tar.gz
trackermap-server-ccefc3b345e0943bedf49ce515106b1f210971f1.tar.bz2
trackermap-server-ccefc3b345e0943bedf49ce515106b1f210971f1.zip
Fix GT06 decoder hemisphere issue
Diffstat (limited to 'test/org/traccar/protocol/Gt06ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Gt06ProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
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
@@ -21,6 +21,10 @@ public class Gt06ProtocolDecoderTest extends ProtocolDecoderTest {
"78780a13440604000201baaf540d0a"));
verifyPosition(decoder, binary(
+ "78781f120f0a140e150bc505e51e780293a9e800540000f601006e0055da00035f240d0a"),
+ position("2015-10-21 03:20:42", true, 54.94535, 24.01762));
+
+ verifyPosition(decoder, binary(
"787823120f081b121d37cb01c8e2cc08afd3c020d50201940701d600a1190041ee100576d1470d0a"));
verifyPosition(decoder, binary(