aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-11-14 10:14:27 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-11-14 10:14:27 -0800
commitebd0688d342d26be078f89ca6b5fbd0d5717bbdc (patch)
tree139f33b69f8e1abbf6500cee0d91988a6cd3d1bb /src/test/java/org/traccar/protocol
parentea6c7680ed5ee051bc1c9f16e0d89ffab0c57717 (diff)
downloadtraccar-server-ebd0688d342d26be078f89ca6b5fbd0d5717bbdc.tar.gz
traccar-server-ebd0688d342d26be078f89ca6b5fbd0d5717bbdc.tar.bz2
traccar-server-ebd0688d342d26be078f89ca6b5fbd0d5717bbdc.zip
Decode AT07 OBD data
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/TotemProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
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
@@ -11,6 +11,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));