diff options
author | Anton Tananaev <anton@traccar.org> | 2022-09-11 15:13:55 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-09-11 15:13:55 -0700 |
commit | 1ea1c4be35687a505e21ede7b2c1e611c52f5e4a (patch) | |
tree | 9745b3f0c22a0b976b5aeb465e0b64a93c080bec /src | |
parent | 18807d840ce04f8052f4b1fc842f4ad2da958326 (diff) | |
download | trackermap-server-1ea1c4be35687a505e21ede7b2c1e611c52f5e4a.tar.gz trackermap-server-1ea1c4be35687a505e21ede7b2c1e611c52f5e4a.tar.bz2 trackermap-server-1ea1c4be35687a505e21ede7b2c1e611c52f5e4a.zip |
Add Meitrack T711L test
Diffstat (limited to 'src')
-rw-r--r-- | src/test/java/org/traccar/protocol/MeitrackProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/MeitrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MeitrackProtocolDecoderTest.java index 09ab0440d..0fc51b8b6 100644 --- a/src/test/java/org/traccar/protocol/MeitrackProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/MeitrackProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class MeitrackProtocolDecoderTest extends ProtocolTest { var decoder = inject(new MeitrackProtocolDecoder(null)); + verifyPositions(decoder, binary( + "2424423233322c3836323039303035303030323831332c4343452c0400000003004400110004050006000700fe6962060800000900000a00000b00001aef044023000602d65fbcfd03173b9c0804cc76ae2a0c14ae1b000d00aa0d001c01000000014b030101003f00100004050006000700fe695f060800000900000a00000b00001aea044016000502d65fbcfd03173b9c0804cf76ae2a0c14ae1b000d03aa0d00014b030101003f00100004050006000700fe695f060800000900000a00000b00001aed044001000502d65fbcfd03173b9c0804d076ae2a0c14ae1b000d04aa0d00014b030101002a30460d0a")); + verifyAttribute(decoder, buffer( "$$F160,861412043027965,AAA,22,45.499458,-82.493581,220718171428,V,0,0,0,0,0.0,0,227940,119812,302|220|D8D6|086E1B2B,0000,0000|0000|0000|0191|0573,,,3,,002134,0,0*FA"), Position.KEY_POWER, 13.95); |