aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-06-12 15:00:08 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-06-12 15:00:08 +1200
commit19d7c0dd692145fa11dee3fa07099c80052e1be4 (patch)
treee29289a9364284a650d4ef6650c69fd98c1384f4 /test/org/traccar/protocol/UlbotechProtocolDecoderTest.java
parentc995dde98c23b5ae1fe49261d48c7d7ce2618d7f (diff)
downloadtrackermap-server-19d7c0dd692145fa11dee3fa07099c80052e1be4.tar.gz
trackermap-server-19d7c0dd692145fa11dee3fa07099c80052e1be4.tar.bz2
trackermap-server-19d7c0dd692145fa11dee3fa07099c80052e1be4.zip
Support J1708 decoding for Ulbotech
Diffstat (limited to 'test/org/traccar/protocol/UlbotechProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/UlbotechProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java b/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java
index 5036c4a40..cb4e43c38 100644
--- a/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class UlbotechProtocolDecoderTest extends ProtocolTest {
UlbotechProtocolDecoder decoder = new UlbotechProtocolDecoder(new UlbotechProtocol());
+ verifyPosition(decoder, binary(
+ "F8010103596580420045259CFB3329010E015ED91506BDE5A800000000009E030402420000040400492AA405060344197E220D071131058F410C1591310D48312F8F413107C60804027666B00C138254D182607A826EE083BE554385F50019423CAD1DF8"));
+
verifyNotNull(decoder, binary(
"F8010108683230231070781EA3676E020BFFFFFFFFFFFFFFFFFFFF780304000000030404000002C20506032A1790220E100101AC72F8"));