diff options
author | Anton Tananaev <anton@traccar.org> | 2024-07-20 17:37:32 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-07-20 17:37:32 -0700 |
commit | e1be8916132fd0102cfe298a75abcfdcd43f244b (patch) | |
tree | e8a8e76ddfbaa62a8eb8ecf4dc958bf8e3be8929 /src/test/java/org | |
parent | 50e9eced4a045c6d1e71abc5203b73da9673abc0 (diff) | |
download | trackermap-server-e1be8916132fd0102cfe298a75abcfdcd43f244b.tar.gz trackermap-server-e1be8916132fd0102cfe298a75abcfdcd43f244b.tar.bz2 trackermap-server-e1be8916132fd0102cfe298a75abcfdcd43f244b.zip |
Support Jimi IoT extended heartbeat
Diffstat (limited to 'src/test/java/org')
-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 da070e224..bb809529a 100644 --- a/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -17,6 +17,10 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "78780D01086471700328358100093F040D0A")); + verifyAttribute(decoder, binary( + "787817360005040002003201010018020192006a015f0324aeaf0d0a"), + Position.KEY_BATTERY, 4.02); + verifyPosition(decoder, binary( "787840a218061b0e0f05cf021d22430aa2660b005c00014e140000026500000000024d4e02114504df06031c010007d00000000000086973105524576500c802a86fda0d0a")); |