aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-27 17:18:29 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-06-27 17:18:29 +1200
commitd15edaf38717fae7ad482e73c9fcda66da8756a4 (patch)
treef452f99017983d249a627b798b12175f8247e06b /test/org/traccar/protocol
parentb5f0858fb881c803be83c0fb105c6b8b993b0a78 (diff)
downloadtrackermap-server-d15edaf38717fae7ad482e73c9fcda66da8756a4.tar.gz
trackermap-server-d15edaf38717fae7ad482e73c9fcda66da8756a4.tar.bz2
trackermap-server-d15edaf38717fae7ad482e73c9fcda66da8756a4.zip
Support AZ735 GT06 protocol variant
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/Gt06ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index 00867fc85..6523c5105 100644
--- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
@@ -16,6 +16,12 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest {
verifyNull(decoder, binary(
"78780D01086471700328358100093F040D0A"));
+ verifyPosition(decoder, binary(
+ "7979004a321106170c1b180cc900a875580b7ab4f00010350901fe0a007c0009112424007c000912240081004efe2100c500100f1200000000000000000000000000000000000000000000bc7c900d0a"));
+
+ verifyNotNull(decoder, binary(
+ "79790045321106170c1b13000901fe0a007c0009112424007c000912230081004efe1e00c500100f120000000000000000000000000000000000000710bef565574e37000000b26f140d0a"));
+
verifyNull(decoder, binary(
"787811010863586038760942a0010000010aa4000d0a"));