diff options
author | Anton Tananaev <anton@traccar.org> | 2023-03-09 09:26:32 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-03-09 09:26:32 -0800 |
commit | 2749e520c9ea1ba778c120739e2b67a9fe5e119c (patch) | |
tree | 6a3b468c57777836fdabc07a2a85a1733b457949 /src/test/java/org | |
parent | 785933bc74b2530ed36b4d5fae364284e28cf5d9 (diff) | |
download | trackermap-server-2749e520c9ea1ba778c120739e2b67a9fe5e119c.tar.gz trackermap-server-2749e520c9ea1ba778c120739e2b67a9fe5e119c.tar.bz2 trackermap-server-2749e520c9ea1ba778c120739e2b67a9fe5e119c.zip |
Add JT705A gyro axis
Diffstat (limited to 'src/test/java/org')
-rw-r--r-- | src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java index 95abc43a7..9590f7732 100644 --- a/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java @@ -14,6 +14,10 @@ public class HuabaoProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "7e010200204f07788ef67601824f4459344f544d314d4459774d4441314d444977626d5633553235536457786cba7e")); + verifyAttribute(decoder, binary( + "7e55019c3b8571110003399a07032310302029538631031015370500001a0c000000265700440001233703080000001001020202000a0a04028f000af401040c06ff98ffa8007e707e"), + "gyro", "ff98ffa8007e"); + verifyPosition(decoder, binary( "7e0900001f4f07788ef87d000cf0230223150215010203013800000c000b029dc58c04b99b60230223171822507e")); |