diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-16 20:25:20 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-16 20:25:20 -0700 |
commit | a92c5786ce74994ad20aee12affd75737a565ba2 (patch) | |
tree | 66f5e092b7712fb521e0bf7dcef0c2173b59251d /src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java | |
parent | 90ddc7b95e3879c20d6d8f7e8b96df87e0ec1f66 (diff) | |
download | trackermap-server-a92c5786ce74994ad20aee12affd75737a565ba2.tar.gz trackermap-server-a92c5786ce74994ad20aee12affd75737a565ba2.tar.bz2 trackermap-server-a92c5786ce74994ad20aee12affd75737a565ba2.zip |
Decode more data
Diffstat (limited to 'src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java')
-rw-r--r-- | src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java index 97a77eb28..8c4a0278d 100644 --- a/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java @@ -14,6 +14,13 @@ public class HuabaoProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "7E01000021013345678906000F002C012F373031313142534A2D4D3742203030303030303001D4C1423838383838B47E")); + verifyAttribute(decoder, binary( + "283734303139303331313138352c312c3030312c454c4f434b2c332c35323934333929"), + Position.KEY_RESULT, "(740190311185,1,001,ELOCK,3,529439)"); + + verifyPosition(decoder, binary( + "7e55028436740190311185091607200239270613212607536108630000170a000000014600005ded05e203000000000b010d0c06005b003e00ab0a0302dc65100100a37e")); + verifyPosition(decoder, binary( "7E550100287001608180000127061008045322332880113555602E050031010000000608000010931435010002000300030100051B7E")); |