aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-07-04 08:02:33 -0700
committerAnton Tananaev <anton@traccar.org>2023-07-04 08:02:33 -0700
commit52799453e0ee9a9db3cbad58138712c8c40c458f (patch)
tree0730f71a04fbfb9f1eebb6098d9b72393705c25e /src/test
parent8b4d3ee0b96407ad3c889bc3bb0261e5ebe60532 (diff)
downloadtrackermap-server-52799453e0ee9a9db3cbad58138712c8c40c458f.tar.gz
trackermap-server-52799453e0ee9a9db3cbad58138712c8c40c458f.tar.bz2
trackermap-server-52799453e0ee9a9db3cbad58138712c8c40c458f.zip
iStartek VT200 ACC on time
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java
index 361e6e6f2..9b1362f5d 100644
--- a/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java
@@ -12,6 +12,10 @@ public class StartekProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new StartekProtocolDecoder(null));
verifyAttribute(decoder, text(
+ "&&s148,868703050178631,000,37,,230704040211,A,22.678565,114.046011,31,0.5,0,339,77,8,460|0|249F|0AC2620D,27,0000001D,02,00,04F2|01A1|0000|0000,129,,,,949037"),
+ Position.KEY_HOURS, 9490000L);
+
+ verifyAttribute(decoder, text(
"&&x164,869926040743375,000,0,,220705205955,A,33.326001,44.445318,10,1.2,0,57,8,925,418|40|038C|000083CD,31,00000015,00,00,0016|016A|0000|0000,1,,,686|33||44|99|14|124|11|8D"),
Position.KEY_FUEL_CONSUMPTION, 1.1);