diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-24 17:02:52 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-24 17:02:52 -0700 |
commit | 284de955abc4526fd988f350666558f57db1507f (patch) | |
tree | 59dbc46af39f48e993215cb6fb0298d7b2f513ec /src/test/java/org/traccar/protocol | |
parent | 0ba89aa35180f965e8c8ca85560d7ee7a1849b3c (diff) | |
download | trackermap-server-284de955abc4526fd988f350666558f57db1507f.tar.gz trackermap-server-284de955abc4526fd988f350666558f57db1507f.tar.bz2 trackermap-server-284de955abc4526fd988f350666558f57db1507f.zip |
Decode A1L808 lock info
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-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 d61dae315..c45effbc5 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, buffer( "(794104004140,1,001,BASE,2,TIME)")); + verifyAttribute(decoder, binary( + "7E02000053200002604323004800000000000C00000158B91406CB7007006B00000000220512101138010400000F2803020000250400000000300114310100E30100D50E0100026043232795980277530030E50400000000E7020FC8E8020E83AB7E"), + "lock1Locked", false); + verifyPosition(decoder, binary( "7E0900005A4E5DE66FBA2200C4F02204280610090002010D052B0150052C0400129009052D016B052E014F05300231BA053502000005360203B8053802000005390200AD053D0201EA05440150054604009899D90545040000001E000C00030160A85C06D1C1389C7E")); |