From 1def70dc531b5ce7d1fd5e00b530f1c91c128840 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 17 Apr 2019 19:27:01 -0700 Subject: Support additional attributes --- src/test/java/org/traccar/protocol/BoxProtocolDecoderTest.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/test/java') diff --git a/src/test/java/org/traccar/protocol/BoxProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/BoxProtocolDecoderTest.java index d661a10f2..f7197a05d 100644 --- a/src/test/java/org/traccar/protocol/BoxProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/BoxProtocolDecoderTest.java @@ -17,6 +17,12 @@ public class BoxProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, text( "H,BT,N878123,080415081234,D63E6DD9,6D6E6DC2,8944100300825505377")); + verifyPosition(decoder, text( + "L,190416090826,G,21.46701,39.18655,0,280,86.62,53,21;A,0;D,0;T0,34.2;I,0")); + + verifyPosition(decoder, text( + "L,190416090926,G,21.46701,39.18655,0,280,86.62,7,20;A,0;D,0;T0,34.2;I,0;END,106,222,190416080509")); + verifyPosition(decoder, text( "L,190227043304,G,25.68773,48.59788,71,53,261.42,1,23;A,0.03;D,0.06;I,0")); -- cgit v1.2.3