diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-18 06:56:15 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-18 05:56:15 +1300 |
commit | 92f9691c9817526bd025377cb44aa336e7625592 (patch) | |
tree | d0117fc222a54be32105ceec064605719f051047 /test/org/traccar/protocol | |
parent | 2cdc0c93b759dfbdaff0c5577862b151d9aadf7f (diff) | |
download | traccar-server-92f9691c9817526bd025377cb44aa336e7625592.tar.gz traccar-server-92f9691c9817526bd025377cb44aa336e7625592.tar.bz2 traccar-server-92f9691c9817526bd025377cb44aa336e7625592.zip |
Properly decode Ulbotech ADC values
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r-- | test/org/traccar/protocol/UlbotechProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java b/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java index 2c271976e..9a70080ae 100644 --- a/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java +++ b/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class UlbotechProtocolDecoderTest extends ProtocolTest { UlbotechProtocolDecoder decoder = new UlbotechProtocolDecoder(new UlbotechProtocol()); verifyPosition(decoder, binary( + "f8010108675210214191372010e042010e0292dcd601a999c9000c00900269030400420000040400d87d6e0506034f1754220b070d31056d410c0000310d00312f4a1005f000000200947df8")); + + verifyPosition(decoder, binary( "f8010103515810532780699f7e2e3f010e015ee4c906bde45c00000000008b0304004000000404002c776005060373193622110b00240b00fee8ffff807dffff606d0b00fee9af000000af0000000b00feee7d78807dffffffff100101cc2af8")); verifyPosition(decoder, binary( |