diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-06-16 21:52:07 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-06-16 21:52:07 -0700 |
commit | 467c46ca1c35c7daa2c127ee758e378f151171a0 (patch) | |
tree | 4a917f02ecdb144a96cbc1082f7c9d2482288b80 /src/test/java | |
parent | db45cf357db965691f87bff6d206608189afb25e (diff) | |
download | trackermap-server-467c46ca1c35c7daa2c127ee758e378f151171a0.tar.gz trackermap-server-467c46ca1c35c7daa2c127ee758e378f151171a0.tar.bz2 trackermap-server-467c46ca1c35c7daa2c127ee758e378f151171a0.zip |
Support TLP1 and TLP2 formats
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java index 9fb57f400..61fb658a6 100644 --- a/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java @@ -12,6 +12,15 @@ public class T800xProtocolDecoderTest extends ProtocolTest { var decoder = new T800xProtocolDecoder(null); verifyAttributes(decoder, binary( + "27271000247bd00860112047066487210407034238000005d7d17365e625ff640a730148")); + + verifyAttributes(decoder, binary( + "27271000277bb30860112047066487210407022840000004e6215130c50fff620a0c1518000156")); + + verifyPosition(decoder, binary( + "27270200497d880860112047066487470021040702270500006442d4e2e342f671b441000000008000008080881dff3900000384700640003c0000001e1e00641e30d2800000000000")); + + verifyAttributes(decoder, binary( "252510003100180865284041080544201221191023000003ffff9702eff820014700000000912a6ac26dff09c200000000")); verifyAttribute(decoder, binary( |