aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-06-27 23:01:42 -0700
committerAnton Tananaev <anton@traccar.org>2023-06-27 23:01:42 -0700
commitbc99846b0c88ac41b96744edd23ef254f492c0b7 (patch)
tree6137963571f8b4cdd6c2ebd32aa6b59198e8174e /src/test/java/org
parent3952b3445d96d91f87d6a427ba10a86907cb0fea (diff)
downloadtrackermap-server-bc99846b0c88ac41b96744edd23ef254f492c0b7.tar.gz
trackermap-server-bc99846b0c88ac41b96744edd23ef254f492c0b7.tar.bz2
trackermap-server-bc99846b0c88ac41b96744edd23ef254f492c0b7.zip
Support HWDECO fuel sensor
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
index a73127546..760671cd9 100644
--- a/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
@@ -11,6 +11,10 @@ public class Gl200TextProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new Gl200TextProtocolDecoder(null));
+ verifyAttribute(decoder, buffer(
+ "+RESP:GTDTT,410502,864802030541621,,,,1,35,45637561747261636b0d0a434f4d422c302c39342e302c2d312e302c2c2c4844430d0a,20230421034626,EA2E$"),
+ Position.KEY_FUEL_LEVEL, 94.0);
+
verifyNull(decoder, buffer(
"+RESP:GTFRI,5E0100,862061048023666,,,12940,10,1,1,0.0,97,179.8,-90.366478,38.735379,20230616183231,0310,0410,6709,03ADF710,00,6223.7,,,,,110000,,,,202306161834$"));