diff options
author | Anton Tananaev <anton@traccar.org> | 2022-10-13 07:22:20 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-10-13 07:22:20 -0700 |
commit | acedd28b8584a18022d9e2343558f9acbad1666f (patch) | |
tree | e9862c94c93a9674bfca48aa3f437be4d3731f87 /src/test/java | |
parent | c801d33f44ae346d01e19e47a3b97c8405f4d5b4 (diff) | |
download | trackermap-server-acedd28b8584a18022d9e2343558f9acbad1666f.tar.gz trackermap-server-acedd28b8584a18022d9e2343558f9acbad1666f.tar.bz2 trackermap-server-acedd28b8584a18022d9e2343558f9acbad1666f.zip |
Support OBD6 status message
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java index ebda38823..d1789bb16 100644 --- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -18,6 +18,10 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { "78780D01086471700328358100093F040D0A")); verifyAttribute(decoder, binary( + "7878131302801900002e42016f000000003a0177ef180d0a"), + Position.KEY_POWER, 3.67); + + verifyAttribute(decoder, binary( "78782526160913063918c002780fab0c44750f00040008027f14084c0038420600030c020007398e0d0a"), Position.KEY_ALARM, Position.ALARM_TAMPERING); |