diff options
author | Anton Tananaev <anton@traccar.org> | 2023-11-22 06:38:04 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-11-22 06:38:10 -0800 |
commit | b611af130271182c8e9de924a33f172ee4431a93 (patch) | |
tree | 8e6be050dd0fc4cc2b57a41b7671800b818d06a0 /src/test/java/org | |
parent | 12aac4e3a7bc78943f8d6c3b51a692210b0cf06f (diff) | |
download | trackermap-server-b611af130271182c8e9de924a33f172ee4431a93.tar.gz trackermap-server-b611af130271182c8e9de924a33f172ee4431a93.tar.bz2 trackermap-server-b611af130271182c8e9de924a33f172ee4431a93.zip |
Fix Mictrack MT710 wifi decoding
Diffstat (limited to 'src/test/java/org')
-rw-r--r-- | src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java index 63aa3ebc0..cdfae465c 100644 --- a/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java @@ -12,6 +12,10 @@ public class Tlt2hProtocolDecoderTest extends ProtocolTest { var decoder = inject(new Tlt2hProtocolDecoder(null)); verifyPositions(decoder, false, text( + "#862255061983166#MT700NW#0000#TOWED#1\r\n", + "#4502$WIFI,051550.00,A,-50,7683C2CBC0B0,-51,7683C29BC0B0,-51,7683C2BBC0B0,-51,7483C2DBC0B0,-51,7683C2ABC0B0,221123*78\r\n")); + + verifyPositions(decoder, false, text( "#862255061825896#MT710#0000#TOWED#1\r\n", "#39#$WIFI,015259.00,A,-47,7483C2DBC0B0,-48,7683C2ABC0B0,-48,7683C29BC0B0,-48,7683C2CBC0B0,-48,7683C2BBC0B0,151123*74\r\n")); |