diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-09 00:33:21 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-09 00:33:21 +1200 |
commit | c9245e2dd791d115011dbb4490733fd9102415d1 (patch) | |
tree | d79d231ee3271ff598a350477d3d4450d9026209 /test | |
parent | eb8d0d220d4aa1b68331342c839adfd02c574f35 (diff) | |
download | trackermap-server-c9245e2dd791d115011dbb4490733fd9102415d1.tar.gz trackermap-server-c9245e2dd791d115011dbb4490733fd9102415d1.tar.bz2 trackermap-server-c9245e2dd791d115011dbb4490733fd9102415d1.zip |
Decode AZ735 protocol status
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java index 85ce9d8f2..0ac51f4b2 100644 --- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -17,6 +17,15 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { "78780D01086471700328358100093F040D0A")); verifyAttributes(decoder, binary( + "797900143311070609020b00000000a0030046000109e4610d0a")); + + verifyAttributes(decoder, binary( + "7979003e32110707083819000901fe0a060f006a1e3f24000000000000000000000000000000000000000000000000000000000000000000000000000000012116ba0d0a")); + + verifyAttributes(decoder, binary( + "7979007632110706090217000901fe0a060f006a1c2024060f0053a429060f006a1d21060f0053a720060f006f151d0000000000000000000000003844d9e7f7e1773d60e327a9e442405cf28628b9c640a42bb0fc0d0244d855a38c220a4c802aa8da7dab50b0e235ef32dd5348ee0ce77a52540000010a205a0d0a")); + + verifyAttributes(decoder, binary( "7979006f210000000001426174746572793a352e3536562c4e4f524d414c3b20475052532a4c696e6b2055702047534d205369676e616c204c6576656c3a5374726f6e673b204750533a4f46463b2020204c4f434b3a4f46463b204254204d41433a4234413832383034343436323b007260880d0a")); verifyPosition(decoder, binary( |