diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-22 17:45:51 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-22 17:45:51 +1200 |
commit | 8b74b160890b9dbdd4a2d660d74d2879df6ceced (patch) | |
tree | 83a0450b21971aeed4880570baa6b700aa65fedd /test | |
parent | 2e157393d036f765687d5ff38797e6e600d986e5 (diff) | |
download | trackermap-server-8b74b160890b9dbdd4a2d660d74d2879df6ceced.tar.gz trackermap-server-8b74b160890b9dbdd4a2d660d74d2879df6ceced.tar.bz2 trackermap-server-8b74b160890b9dbdd4a2d660d74d2879df6ceced.zip |
Another GT06 LBS and WiFi message type
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 2e6a53b06..3c767c908 100644 --- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java +++ b/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java @@ -16,6 +16,12 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "78780D01086471700328358100093F040D0A")); + verifyNotNull(decoder, binary( + "7878412c11030b011c1f013604cb8a00b17754cb8a00bef357cb8a00b73f5fcb8900b0e25fcb8900b6655fcb8a00b74960cb8a00b178620701001801eb40393800bbbde10d0a")); + + verifyNotNull(decoder, binary( + "7878412c11030b012629013604cb8a00b17757cb8a00b73f5bcb8a00b7495ecb8900b0e25fcb8a00b1b9620000000000ff0000000000ffff01001801eb40393e00c0e6340d0a")); + verifyPosition(decoder, binary( "787822221106160a1016c60278019407c7783800040001940504700046fc01030100065f570d0a")); @@ -149,6 +155,9 @@ public class Gt06ProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "787811010123456789012345100B3201000171930D0A")); + verifyNull(decoder, binary( + "78780d1f000000000000000200b196a20d0a")); + } } |