aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-16 06:20:43 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-16 06:20:43 +1300
commit32cf37a4784418bc9be8d66add1b51af3aa91a4d (patch)
tree807e841af51541d6b7b6710f52c561deff7ff586 /test/org/traccar/protocol/UlbotechProtocolDecoderTest.java
parent7446d4984a81b7298b390803cdf141f0d4e7cb8a (diff)
downloadtrackermap-server-32cf37a4784418bc9be8d66add1b51af3aa91a4d.tar.gz
trackermap-server-32cf37a4784418bc9be8d66add1b51af3aa91a4d.tar.bz2
trackermap-server-32cf37a4784418bc9be8d66add1b51af3aa91a4d.zip
Implement Ulbotech response handling
Diffstat (limited to 'test/org/traccar/protocol/UlbotechProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/UlbotechProtocolDecoderTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java b/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java
index 9a70080ae..c76912f18 100644
--- a/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java
@@ -10,8 +10,8 @@ public class UlbotechProtocolDecoderTest extends ProtocolTest {
UlbotechProtocolDecoder decoder = new UlbotechProtocolDecoder(new UlbotechProtocol());
- verifyPosition(decoder, binary(
- "f8010108675210214191372010e042010e0292dcd601a999c9000c00900269030400420000040400d87d6e0506034f1754220b070d31056d410c0000310d00312f4a1005f000000200947df8"));
+ verifyAttributes(decoder, buffer(
+ "*TS01,868323025245751,134955140317,WFE:0#"));
verifyPosition(decoder, binary(
"f8010103515810532780699f7e2e3f010e015ee4c906bde45c00000000008b0304004000000404002c776005060373193622110b00240b00fee8ffff807dffff606d0b00fee9af000000af0000000b00feee7d78807dffffffff100101cc2af8"));