aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2022-01-28 11:08:27 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2022-01-28 11:08:27 -0800
commitff51e1ecafe3b26929baa21a20583c1e8ac82271 (patch)
tree1b2a1d7d612ada053c8e2e034d2f460d6584b74d /src/test/java/org/traccar
parentc45b4d8d1e29227937afa9114ead5ae16f548aa0 (diff)
downloadtrackermap-server-ff51e1ecafe3b26929baa21a20583c1e8ac82271.tar.gz
trackermap-server-ff51e1ecafe3b26929baa21a20583c1e8ac82271.tar.bz2
trackermap-server-ff51e1ecafe3b26929baa21a20583c1e8ac82271.zip
Another H02 coordinates format
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java
index a0462e675..ad5f82176 100644
--- a/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class H02ProtocolDecoderTest extends ProtocolTest {
var decoder = new H02ProtocolDecoder(null);
verifyPosition(decoder, buffer(
+ "*HQ,5905101893,V1,105759,A,37573392,S,145037022,E,000.00,173,280122,FF7FFBFF,,,9059e2c,8232,4#"));
+
+ verifyPosition(decoder, buffer(
"*HQ,4970105243,V1,104000,A,2235.1777,N,11357.8913,E,000.27,235,130721,FFFFFBFF,460,11,d18e105,7752,6#"));
verifyAttribute(decoder, buffer(