diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-05-20 22:11:36 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-05-20 22:11:36 -0700 |
commit | 740b409650c06ce1601be2126e88bc8d672d6d05 (patch) | |
tree | 11ac3daa45e243346a7990fc302a4201f74caca9 /src/test/java/org | |
parent | 7a29a1140f872764663b48661473a97be522f96c (diff) | |
download | traccar-server-740b409650c06ce1601be2126e88bc8d672d6d05.tar.gz traccar-server-740b409650c06ce1601be2126e88bc8d672d6d05.tar.bz2 traccar-server-740b409650c06ce1601be2126e88bc8d672d6d05.zip |
Implement Dingtek DF702 protocol
Diffstat (limited to 'src/test/java/org')
-rw-r--r-- | src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java new file mode 100644 index 000000000..ccf23a5c2 --- /dev/null +++ b/src/test/java/org/traccar/protocol/DingtekProtocolDecoderTest.java @@ -0,0 +1,20 @@ +package org.traccar.protocol; + +import org.junit.Ignore; +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class DingtekProtocolDecoderTest extends ProtocolTest { + + @Ignore + @Test + public void testDecode() throws Exception { + + DingtekProtocolDecoder decoder = new DingtekProtocolDecoder(null); + + verifyPosition(decoder, binary( + "800001011e0692001a00000000016e008027c40000186962703655111781")); + + } + +} |