diff options
author | Anton Tananaev <anton@traccar.org> | 2023-03-22 09:07:24 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-03-22 09:07:24 -0700 |
commit | f8fb3f67bc0bc44f9da89c3dabbec7406751e3c6 (patch) | |
tree | 16f7b5d68b966451be297bcb3b51fe9798dfd363 /src/test/java/org | |
parent | 2bb447924b834693f4d97585f1e5e9e822b62fe3 (diff) | |
download | trackermap-server-f8fb3f67bc0bc44f9da89c3dabbec7406751e3c6.tar.gz trackermap-server-f8fb3f67bc0bc44f9da89c3dabbec7406751e3c6.tar.bz2 trackermap-server-f8fb3f67bc0bc44f9da89c3dabbec7406751e3c6.zip |
Decode TZone magnetic card
Diffstat (limited to 'src/test/java/org')
-rw-r--r-- | src/test/java/org/traccar/protocol/TzoneProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/TzoneProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TzoneProtocolDecoderTest.java index 4813021fd..8fdc8c23c 100644 --- a/src/test/java/org/traccar/protocol/TzoneProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/TzoneProtocolDecoderTest.java @@ -10,6 +10,10 @@ public class TzoneProtocolDecoderTest extends ProtocolTest { var decoder = inject(new TzoneProtocolDecoder(null)); + verifyAttribute(decoder, binary( + "545a00d424240153011300000863835029944118170316023b180016040485c73d2479187e170316023b1800000000060c000000000d1cc0406303019904aa00000000008a012520205e544f4e474c4f4d245049544f4f4e244d522e5e5e3f3b363030373634333132303130303134323234323d3139303631393538313032363d3f2b2020202020202020202020202032322020202020202020202020203120202020202020202020202030303234363238202031303730302020202020202020202020202020202020202020203f00030080000006e80e0d0a"), + "driverLicense", "% ^TONGLOM$PITOON$MR.^^?;6007643120100142242=190619581026=?+ 22 1 0024628 10700 ?"); + verifyAttributes(decoder, binary( "545a003724240407020200000180322000001610160b151019100000000c010a07320101088600007dca000baa102837016a0114025500000169e80d0a")); |