diff options
author | Anton Tananaev <anton@traccar.org> | 2024-07-30 21:59:14 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-07-30 21:59:14 -0700 |
commit | b61e01af5599b9954b0ed4424f417ab659f9aed8 (patch) | |
tree | ad200675933bee17f402a24b4ad9d898caaccda9 /src/test/java | |
parent | b68324196ed548ca2eeb2a0ca878fcbf1702997e (diff) | |
download | trackermap-server-b61e01af5599b9954b0ed4424f417ab659f9aed8.tar.gz trackermap-server-b61e01af5599b9954b0ed4424f417ab659f9aed8.tar.bz2 trackermap-server-b61e01af5599b9954b0ed4424f417ab659f9aed8.zip |
Fix Astra X mask decoding
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java index dc48fc829..55a4033ba 100644 --- a/src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class AstraProtocolDecoderTest extends ProtocolTest { var decoder = inject(new AstraProtocolDecoder(null)); + verifyPositions(decoder, binary( + "58003201052196881ae0ce1f00000000000353d3d49e0010200000093d2353d3d49d031b934afffb036c0000a0000000e0eb")); + verifyPositions(decoder, false, binary( "5800cb02052196881aff5b3c0000200010bf53cbfab10000000100393d5853cbfab0031b93affffb034b0000ae00000000010000000c000c00000000000000787e00000000000000000000000000000000000000000000000000000000000000000000000000000000003d0000200010bf53cbfae60000280000293c5853cbfae6031b93affffb034b0000ae00000000010000000d000c00000000000000ae7e0000000000000000000000000000000000000000000000000000000000000000000000000000000000e604")); |