From 467c46ca1c35c7daa2c127ee758e378f151171a0 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 16 Jun 2021 21:52:07 -0700 Subject: Support TLP1 and TLP2 formats --- src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/test/java/org/traccar') 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 @@ -11,6 +11,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")); -- cgit v1.2.3