aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-06-12 11:25:40 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-06-12 11:25:47 -0700
commitb9ceb322b85493d2b8065b2614b3fda8c73194a1 (patch)
tree9f6585ef6c2f0fb45738456ce4c97d96eed11e59 /src/test
parent79c10ee538392cbca4a0573919296a98816e98ad (diff)
downloadtraccar-server-b9ceb322b85493d2b8065b2614b3fda8c73194a1.tar.gz
traccar-server-b9ceb322b85493d2b8065b2614b3fda8c73194a1.tar.bz2
traccar-server-b9ceb322b85493d2b8065b2614b3fda8c73194a1.zip
Support Kingwo protocol
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/UproProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/UproProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/UproProtocolDecoderTest.java
index 0369f47ed..8c12f48f7 100644
--- a/src/test/java/org/traccar/protocol/UproProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/UproProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class UproProtocolDecoderTest extends ProtocolTest {
var decoder = new UproProtocolDecoder(null);
verifyPosition(decoder, buffer(
+ "*HQ201999999,BA&A1656512233362911356523660000230618&B0100060010&C00000<6<&F0000&R2405&V0109&W0000003E&K00100&T65&I54600027A00FCB6227A00FCA5727A00E955327A00E8B5327A00F9748&Y54600027A000000FCB6227A000000FCA5727A000000E955327A000000E8B5327A000000F9748&b00A7E81007607#"));
+
+ verifyPosition(decoder, buffer(
"*HQ201861909268000132,BA&A1820223307024309650492530000311019&B0100000000&F0000&V0036&R0500&J000182&M0052&W00000091&I231026027BD39090827BD5ACA04&X(501E0)(B0000)(E0136)(J01E0)(L3)(k8937204016201240376F)&K00200&T85&N01#"));
verifyAttribute(decoder, buffer(