From ebd0688d342d26be078f89ca6b5fbd0d5717bbdc Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 14 Nov 2020 10:14:27 -0800 Subject: Decode AT07 OBD data --- src/test/java/org/traccar/protocol/TotemProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/test') diff --git a/src/test/java/org/traccar/protocol/TotemProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TotemProtocolDecoderTest.java index 287c54968..fa56797be 100644 --- a/src/test/java/org/traccar/protocol/TotemProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/TotemProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class TotemProtocolDecoderTest extends ProtocolTest { TotemProtocolDecoder decoder = new TotemProtocolDecoder(null); + verifyPosition(decoder, text( + "$$0112E5864606045334223|201112223514,-68.923106,-22.455926,$Cloud,1738,621,730,12100,0,0,255,0,40,40,0,0,255,|13")); + verifyPosition(decoder, text( "$$0113AA862010037348253|588040001901220851494212000000753AE901655121700100000.800000002632.6084S02803.3289E29497E"), position("2019-01-22 08:51:49.000", true, -26.54347, 28.05548)); -- cgit v1.2.3