diff options
author | Anton Tananaev <anton@traccar.org> | 2024-05-01 07:14:41 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-05-01 07:14:41 -0700 |
commit | 0173d53e967a461560302772c35bcea0251426ed (patch) | |
tree | fa7ef8b4d969ecd21ea1919df9ea64a8f94af91e /src/test/java/org/traccar | |
parent | ce08bd530579765c38a84eba1f57863fb5907f89 (diff) | |
download | trackermap-server-0173d53e967a461560302772c35bcea0251426ed.tar.gz trackermap-server-0173d53e967a461560302772c35bcea0251426ed.tar.bz2 trackermap-server-0173d53e967a461560302772c35bcea0251426ed.zip |
Handle Snapper no GPS data
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r-- | src/test/java/org/traccar/protocol/SnapperProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/SnapperProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SnapperProtocolDecoderTest.java index 7f16d6f3b..bb79194eb 100644 --- a/src/test/java/org/traccar/protocol/SnapperProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/SnapperProtocolDecoderTest.java @@ -13,6 +13,9 @@ public class SnapperProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "4b0341a6b0c608000040000005000000000000007d5e14010068656c6c6f")); + verifyAttributes(decoder, binary( + "4b044daff87aff5b8aad0000d4000000000000000b001337000500210008000d0000ffffffff7f2300190000000000000001000000000224ff000003404000000400000034008c007b2273223a22303034313438222c226332223a2230303030303030303030303030303030222c226132223a2230303030303030303030303830304530222c226f223a2230303030222c2274223a2230303030222c227a223a223030222c2277223a223030222c2272223a222d222c226d223a223030303030303030222c2262223a223030303030303030227d32000a007b2266223a223234227d330007007b2262223a5d7d")); + verifyPosition(decoder, binary( "4b044daff87aff5b8aad00007b010000000013ea0c006837000500210008003e000058c48fa94823001900000080000200018080000002deff0f0003404000000400000034008c007b2273223a22303034303438222c226332223a2230303030303030303030303030303030222c226132223a2230303030303030303030303030303030222c226f223a2230303030222c2274223a2230303030222c227a223a223030222c2277223a223030222c2272223a222d222c226d223a223030303030303030222c2262223a223030303030303030227d320079007b2266223a224445222c2274223a22303932383336222c2264223a22313530343234222c226c61223a22353334312e34333732222c226c6f223a2230303935342e30373036222c2261223a22382e34222c2273223a22302e3030222c2263223a2232362e3036222c227376223a223135222c2270223a22227d33003f007b2263223a22323632222c226e223a223033222c2262223a5b7b226c223a2232423334222c2263223a223030303041313231222c2273223a223132227d5d7d")); |