diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-03-23 12:05:35 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-03-23 12:05:35 -0700 |
commit | 89a8132cdcd4a409adaf8eae6a18c97a640ab738 (patch) | |
tree | 100ec2cc5055ecce33f8b38d6e1d695c882bb9ac /test | |
parent | ad087c64207c28b5aa0026e9ad198ec677f79fd4 (diff) | |
download | trackermap-server-89a8132cdcd4a409adaf8eae6a18c97a640ab738.tar.gz trackermap-server-89a8132cdcd4a409adaf8eae6a18c97a640ab738.tar.bz2 trackermap-server-89a8132cdcd4a409adaf8eae6a18c97a640ab738.zip |
Support eeLink OBD data
Diffstat (limited to 'test')
-rw-r--r-- | test/org/traccar/protocol/EelinkProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/EelinkProtocolDecoderTest.java b/test/org/traccar/protocol/EelinkProtocolDecoderTest.java index f8a16c46f..dedae479d 100644 --- a/test/org/traccar/protocol/EelinkProtocolDecoderTest.java +++ b/test/org/traccar/protocol/EelinkProtocolDecoderTest.java @@ -14,6 +14,9 @@ public class EelinkProtocolDecoderTest extends ProtocolTest { verifyNull(decoder, binary( "454C0027E753035254407167747167670100180002035254407167747100200205020500010432000086BD")); + verifyAttributes(decoder, binary( + "676707006502df5c89fde800bc3fa8030302005555045b555555057a5555550b225555550c105c55550d115555550e7e5555550f4555555510017b5555112b5555551f01ed5555208005b0012100005555407ad000004237f5555589000000498a0000aef78b00000000")); + verifyAttribute(decoder, binary( "676712003400e45c5b0ade02012e03702d87064546aa24066a1086018a0000002dc1a0ffffffff0afd074d000000000000000000000000fce0"), Position.PREFIX_TEMP + 2, -50.0); |