aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-07-25 05:15:13 -0700
committerAnton Tananaev <anton@traccar.org>2023-07-25 05:15:18 -0700
commit1a1126d2d39220f3f28d98662a8c3d5fd4c1cfee (patch)
treed3fcd558dae0b7fd0114ec25f4345d8158be6788 /src/test/java
parent6e5481ebb1858726604706d011e5c5f509ac5306 (diff)
downloadtrackermap-server-1a1126d2d39220f3f28d98662a8c3d5fd4c1cfee.tar.gz
trackermap-server-1a1126d2d39220f3f28d98662a8c3d5fd4c1cfee.tar.bz2
trackermap-server-1a1126d2d39220f3f28d98662a8c3d5fd4c1cfee.zip
Handle ST410 no GPS data
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
index 884f13350..cbb68132f 100644
--- a/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
@@ -12,6 +12,9 @@ public class SuntechProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new SuntechProtocolDecoder(null));
+ verifyAttributes(decoder, buffer(
+ "ST410STT;109815653;445;03;16531;724;10;-77;6011;7;16273;724;10;7511;0;0;13903;724;10;6011;0;0;7671;724;10;7111;0;0;16533;724;10;6011;0;0;0;0;0;0;0;0;0;0;0;0;0;0;3.86;0;0098;1;003;;;;;;;;;"));
+
verifyPosition(decoder, buffer(
"ALT;0840037569;FFFFFF;84;1.0.6;0;20221228;11:33:05;00004490;724;11;05D3;33;-22.845935;-46.322000;0.00;0.00;18;0;00000001;00000000;99;;;;08E3800F;4.1;12.37;0;0;0;0;4;;;;"));