aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-07-26 18:02:32 -0700
committerAnton Tananaev <anton@traccar.org>2024-07-26 18:02:32 -0700
commit62f1cb5cd3374ac0012c9c054f3556c5e43a8549 (patch)
tree4ed80c71afeef1a404ab781e0253addc4a6dacf6 /src/test/java/org
parent1f6028589096a89fbec98cbe20e609ce6d6c974a (diff)
downloadtrackermap-server-62f1cb5cd3374ac0012c9c054f3556c5e43a8549.tar.gz
trackermap-server-62f1cb5cd3374ac0012c9c054f3556c5e43a8549.tar.bz2
trackermap-server-62f1cb5cd3374ac0012c9c054f3556c5e43a8549.zip
Support TopTen TK218 OBD
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/MeiligaoProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/MeiligaoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
index 8074636a3..8e2f55117 100644
--- a/src/test/java/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
@@ -12,6 +12,10 @@ public class MeiligaoProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new MeiligaoProtocolDecoder(null));
verifyAttribute(decoder, binary(
+ "242400166578902354329399034331453838d2c40d0a"),
+ Position.KEY_DTCS, "C1E88");
+
+ verifyAttribute(decoder, binary(
"2424008f142180340967ff99553033333233302e3030302c412c313531362e383039392c4e2c31303435322e383835352c452c302e30302c33332c3038313232302c2c2a33367c302e387c3132337c323130307c303030302c303030302c303230452c303241417c30323038303030353038394530304531434638347c31437c31373243353832437c3042a8060d0a"),
Position.KEY_SATELLITES, 11);