diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-24 15:49:24 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-24 15:49:24 +1300 |
commit | 79e54300d36d1e6c55452e9a68d219cb68ab9085 (patch) | |
tree | de9882aac05b8e7d80cb72e53615961f83509c43 /test/org/traccar | |
parent | a7592bcbf5f0f430210d27245d2ba9d450770e39 (diff) | |
download | traccar-server-79e54300d36d1e6c55452e9a68d219cb68ab9085.tar.gz traccar-server-79e54300d36d1e6c55452e9a68d219cb68ab9085.tar.bz2 traccar-server-79e54300d36d1e6c55452e9a68d219cb68ab9085.zip |
Fix Tytan temperature data decoding
Diffstat (limited to 'test/org/traccar')
-rw-r--r-- | test/org/traccar/protocol/TytanProtocolDecoderTest.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TytanProtocolDecoderTest.java b/test/org/traccar/protocol/TytanProtocolDecoderTest.java index d291baa6e..bfbc01f52 100644 --- a/test/org/traccar/protocol/TytanProtocolDecoderTest.java +++ b/test/org/traccar/protocol/TytanProtocolDecoderTest.java @@ -13,6 +13,15 @@ public class TytanProtocolDecoderTest extends ProtocolDecoderTest { TytanProtocolDecoder decoder = new TytanProtocolDecoder(new TytanProtocol()); verifyPositions(decoder, binary( + "B500192000001405125652CA9B1A325FC98D11A9990018020118FC0D")); + + verifyPositions(decoder, binary( + "B500197800007422125652D7AC32325FD08D11A69900180200188280")); + + verifyPositions(decoder, binary( + "B500181000001405115652DEEB2A325FC68D11A7D00005012A2AE1")); + + verifyPositions(decoder, binary( "B5005690000068494F561CEAE932325FD28D11A299000702000063045532030066013567018768014B6901286B0240396C04030785986D013E7F040000A7CE81040000A76C82027EAB83080FA01068FFFF0F3C880202583156")); verifyPositions(decoder, binary( |