diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-05-04 12:00:39 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-05-04 12:00:39 +1200 |
commit | 2d920ecec746615281802e068044a3122a0ae90b (patch) | |
tree | f93a98faef75654f766b4f54ec46e8d4a1500b22 /test/org | |
parent | d0d7c5a12ca7f9b3af7689c86dff7c7928e86d1d (diff) | |
download | trackermap-server-2d920ecec746615281802e068044a3122a0ae90b.tar.gz trackermap-server-2d920ecec746615281802e068044a3122a0ae90b.tar.bz2 trackermap-server-2d920ecec746615281802e068044a3122a0ae90b.zip |
Support for GT06 command response
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/Gt06ProtocolDecoderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java index d925ffec3..3bcd2ec3a 100644 --- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -16,6 +16,12 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { verifyNothing(decoder, binary( "78780D01086471700328358100093F040D0A")); + verifyAttributes(decoder, binary( + "78782d152500000000437574206f666620746865206675656c20737570706c793a2053756363657373210002013b898a0d0a")); + + verifyAttributes(decoder, binary( + "787829152100000000526573746f7265206675656c20737570706c793a2053756363657373210002014077ce0d0a")); + verifyNothing(decoder, binary( "78780D01012345678901234500018CDD0D0A")); |