diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-12-21 19:53:13 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-12-21 19:53:13 -0800 |
commit | 1ca6c8561f1aa21d5f73030bcd0ab3e9c578a9f1 (patch) | |
tree | 7b7038475b5ceb00cccffd6feaadc64a53fcb824 /src/test | |
parent | e4216e7eabcb99c585909a262a1cf8d626b97ca6 (diff) | |
download | trackermap-server-1ca6c8561f1aa21d5f73030bcd0ab3e9c578a9f1.tar.gz trackermap-server-1ca6c8561f1aa21d5f73030bcd0ab3e9c578a9f1.tar.bz2 trackermap-server-1ca6c8561f1aa21d5f73030bcd0ab3e9c578a9f1.zip |
Implement Blue ET700 protocol
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/traccar/protocol/BlueProtocolDecoderTest.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/BlueProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/BlueProtocolDecoderTest.java new file mode 100644 index 000000000..1d1716238 --- /dev/null +++ b/src/test/java/org/traccar/protocol/BlueProtocolDecoderTest.java @@ -0,0 +1,18 @@ +package org.traccar.protocol; + +import org.junit.Test; +import org.traccar.ProtocolTest; + +public class BlueProtocolDecoderTest extends ProtocolTest { + + @Test + public void testDecode() throws Exception { + + BlueProtocolDecoder decoder = new BlueProtocolDecoder(null); + + verifyPosition(decoder, binary( + "aa0055860080e3e79e0b840f800010320000000020010f0040008005ee197f113b26e800000000000000130c11091a2b005ac7a621120f0002000000b7000002000000000000001a3a0000000001f40000000000003f")); + + } + +} |