aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-04-22 22:33:46 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-04-22 22:33:46 -0700
commit149c71740105130d19aa55738042bc5be0280429 (patch)
treef5ff12f92f4ad9eb6e2c43f1c1394f6795bc8ef1 /src/test
parentbda405e1aa178b33a46edb2c3e2594d74be3bc5c (diff)
downloadtrackermap-server-149c71740105130d19aa55738042bc5be0280429.tar.gz
trackermap-server-149c71740105130d19aa55738042bc5be0280429.tar.bz2
trackermap-server-149c71740105130d19aa55738042bc5be0280429.zip
Fix GPS decoding
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/traccar/protocol/Gs100ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/Gs100ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gs100ProtocolDecoderTest.java
index 91bbf386c..68c9b8219 100644
--- a/src/test/java/org/traccar/protocol/Gs100ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gs100ProtocolDecoderTest.java
@@ -14,6 +14,9 @@ public class Gs100ProtocolDecoderTest extends ProtocolTest {
"474C490F383632343632303332353036373030133839333831303131363039313838343837323546084657312E302E3236"));
verifyPositions(decoder, binary(
+ "47440416900000124833220421018478956c445263460110426616900000124838220421018478907c445263470055824116900000124839220421018478890c445263440091526116900000124840220421018478867c4452634401312272"));
+
+ verifyPositions(decoder, binary(
"47440216900000064113030417020236402C452286650051929716900000064115030417020236408C4522866800379020"));
}