aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-05-17 15:28:09 -0700
committerAnton Tananaev <anton@traccar.org>2024-05-17 15:28:09 -0700
commitbb1cded19d54cd7733b6ab29240c79b9c0e1e7b7 (patch)
treebff6f466b9d1315a76b732dc622f9edfb00cf9bf /src/test
parentf1a3367864fde22c1df3ee1a5a5e886be496031d (diff)
downloadtrackermap-server-bb1cded19d54cd7733b6ab29240c79b9c0e1e7b7.tar.gz
trackermap-server-bb1cded19d54cd7733b6ab29240c79b9c0e1e7b7.tar.bz2
trackermap-server-bb1cded19d54cd7733b6ab29240c79b9c0e1e7b7.zip
Support ET01 OBD data
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/EasyTrackProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/EasyTrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/EasyTrackProtocolDecoderTest.java
index d40463c1e..fee0252b7 100644
--- a/src/test/java/org/traccar/protocol/EasyTrackProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/EasyTrackProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class EasyTrackProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new EasyTrackProtocolDecoder(null));
verifyAttributes(decoder, text(
+ "*ET,358162092884226,OB,BD$V13.6;R01510;S023;P034.9;O035.2;C085;L000.0;XM035.170;M4.25;F001.197;T0000730;A09;B00;D00;GX0;GY0;GZ0;"));
+
+ verifyAttributes(decoder, text(
"*ET,358999999999916,OB,BD$V14.2;R08258;S166;P058.4;O079.2;C025;L081.5;XM091.393;M722379;F352.956;T0037184;A01;B00;D00;GX3;GY-6;GZ-268;@4#"));
verifyNotNull(decoder, text(