aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-06-16 21:52:07 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-06-16 21:52:07 -0700
commit467c46ca1c35c7daa2c127ee758e378f151171a0 (patch)
tree4a917f02ecdb144a96cbc1082f7c9d2482288b80 /src/test/java
parentdb45cf357db965691f87bff6d206608189afb25e (diff)
downloadtrackermap-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.java9
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(