aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-13 06:40:50 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-13 06:40:50 +1300
commit709b02703cfd974bc17127f3e4683b9d96249eb9 (patch)
tree619871230d70b9092391b6709641bde9b961b55c /test/org/traccar
parent7264149967d2bee385afcab6a8435d4b77141a49 (diff)
downloadtrackermap-server-709b02703cfd974bc17127f3e4683b9d96249eb9.tar.gz
trackermap-server-709b02703cfd974bc17127f3e4683b9d96249eb9.tar.bz2
trackermap-server-709b02703cfd974bc17127f3e4683b9d96249eb9.zip
Support ATrack fuel sensor
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/AtrackProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java b/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
index b5271f511..bd606c320 100644
--- a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class AtrackProtocolDecoderTest extends ProtocolTest {
AtrackProtocolDecoder decoder = new AtrackProtocolDecoder(new AtrackProtocol());
+ verifyPositions(decoder, binary(
+ "4050b5ed004a2523000310c83713f8c05a88b43e5a88b43f5a88b43f021e0ad5fffdc0a800f3020003059100080000000000000007d007d046554c533a463d3230393120743d3137204e3d3039303100"));
+
verifyAttributes(decoder, buffer(
"$INFO=358683066267395,AX7,Rev.0.61 Build.1624,358683066267395,466924131626767,89886920041316267670,144,0,9,1,12,1,0\r\n"));