aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-12-08 04:03:53 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-12-08 04:03:53 +1300
commitaf8875896e06ac3ac034c493b5a355d32cffb026 (patch)
tree362321c6c8f9672becf01a0ba133fab1fcbdb743 /test/org
parent58210703a05a5c241fafbbf367ae877911aa6349 (diff)
downloadtrackermap-server-af8875896e06ac3ac034c493b5a355d32cffb026.tar.gz
trackermap-server-af8875896e06ac3ac034c493b5a355d32cffb026.tar.bz2
trackermap-server-af8875896e06ac3ac034c493b5a355d32cffb026.zip
Support HS3000 handshake
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/HuaShengProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java b/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java
index 424d7959b..97bcf9954 100644
--- a/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class HuaShengProtocolDecoderTest extends ProtocolTest {
HuaShengProtocolDecoder decoder = new HuaShengProtocolDecoder(new HuaShengProtocol());
verifyNull(decoder, binary(
+ "c0010c003c0002000000000044020010a0014f42445f3347315f56322e320013a0043335353835353035313032303536360006a08700000006a0a105c9c0"));
+
+ verifyNull(decoder, binary(
"c000000077aa0200000000000e000100143347315f48312e315f56312e30372e54000300133335353835353035303434303635380004000b3531323030303000050005010006000400070004000800050000090018383936313032353431343533333239313833360d000a000f796573696e7465726e6574c0"));
verifyPosition(decoder, binary(