aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-06-15 05:35:09 -0700
committerAnton Tananaev <anton@traccar.org>2023-06-15 05:35:09 -0700
commit03650fff8064b60ffcda75f9033fd44e66ef34b3 (patch)
tree456904d265c41369506b980d8fc92fd91b26465a /src/test
parent94fbc93f8b0a75fe17e529355c4e7758b81b4776 (diff)
downloadtrackermap-server-03650fff8064b60ffcda75f9033fd44e66ef34b3.tar.gz
trackermap-server-03650fff8064b60ffcda75f9033fd44e66ef34b3.tar.bz2
trackermap-server-03650fff8064b60ffcda75f9033fd44e66ef34b3.zip
Galileo Iridium frame decoding
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/GalileoFrameDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/GalileoFrameDecoderTest.java b/src/test/java/org/traccar/protocol/GalileoFrameDecoderTest.java
index 256517460..530f0930e 100644
--- a/src/test/java/org/traccar/protocol/GalileoFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/GalileoFrameDecoderTest.java
@@ -13,6 +13,10 @@ public class GalileoFrameDecoderTest extends ProtocolTest {
var decoder = inject(new GalileoFrameDecoder());
assertEquals(
+ binary("01003f01001c475b166133303035333430363431383437393000001d000064897bb003000b0221c20512a60a0000000802000f209d7b8964300f2536fbfd103c1d01"),
+ decoder.decode(null, null, binary("01003f01001c475b166133303035333430363431383437393000001d000064897bb003000b0221c20512a60a0000000802000f209d7b8964300f2536fbfd103c1d01")));
+
+ assertEquals(
binary("011780011102e603383633353931303238393630323437043200801c"),
decoder.decode(null, null, binary("011780011102e603383633353931303238393630323437043200801c")));