aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-07-03 13:54:19 -0700
committerAnton Tananaev <anton@traccar.org>2023-07-03 13:54:19 -0700
commit44527107b2bd5798356d6639573d3ccea67fd3b4 (patch)
tree150e33471468b12de9d76e48ac6b317a5b4d330c /src/test
parenta8a06ffd494fc7161ca0edca39ae35be865a383f (diff)
downloadtrackermap-server-44527107b2bd5798356d6639573d3ccea67fd3b4.tar.gz
trackermap-server-44527107b2bd5798356d6639573d3ccea67fd3b4.tar.bz2
trackermap-server-44527107b2bd5798356d6639573d3ccea67fd3b4.zip
Initial T622G-F9 Iridium support
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/T622IridiumProtocolDecoderTest.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/T622IridiumProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/T622IridiumProtocolDecoderTest.java
new file mode 100644
index 000000000..4bc79fbe8
--- /dev/null
+++ b/src/test/java/org/traccar/protocol/T622IridiumProtocolDecoderTest.java
@@ -0,0 +1,20 @@
+package org.traccar.protocol;
+
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+import org.traccar.ProtocolTest;
+
+public class T622IridiumProtocolDecoderTest extends ProtocolTest {
+
+ @Disabled
+ @Test
+ public void testDecode() throws Exception {
+
+ var decoder = inject(new T622IridiumProtocolDecoder(null));
+
+ verifyPosition(decoder, binary(
+ "01003301001c2a8cef8333303034333430363735343836353000001700006461d512020011232f03a0fff1c85d0612b3f02b00000048"));
+
+ }
+
+}