aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorSanjeewa Vithanage <vithanagevms@gmail.com>2024-01-28 07:36:38 +0200
committerSanjeewa Vithanage <vithanagevms@gmail.com>2024-01-28 07:36:38 +0200
commit7577626863a370056169386860a3e8805f45663b (patch)
treebb7d4df9586ad6d587feb5b0c52ca7f565f217ee /src/test
parentb82bacce74f38d34cbf16749ca23961eb0f8a919 (diff)
downloadtrackermap-server-7577626863a370056169386860a3e8805f45663b.tar.gz
trackermap-server-7577626863a370056169386860a3e8805f45663b.tar.bz2
trackermap-server-7577626863a370056169386860a3e8805f45663b.zip
test decode
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/UproProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/UproProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/UproProtocolDecoderTest.java
index c99166374..ca2944c04 100644
--- a/src/test/java/org/traccar/protocol/UproProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/UproProtocolDecoderTest.java
@@ -83,6 +83,10 @@ public class UproProtocolDecoderTest extends ProtocolTest {
verifyPosition(decoder, buffer(
"*AI2000905300036,AD1&A1703054913231101844949860000251115&B0500000000&C0;4?72:9&F0000"));
+ verifyAttribute(decoder, buffer(
+ "*HQ200862312328000001,AD1&A1520441548253003503696640017270124&B0000000000&C00000117&F0000&R2118&N01&V0125&X(J01E0)&K00300&Z000&d01286"),
+ Position.PREFIX_ADC + 1, 12.86);
+
}
}