diff options
author | Anton Tananaev <anton@traccar.org> | 2023-07-25 05:15:13 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-07-25 05:15:18 -0700 |
commit | 1a1126d2d39220f3f28d98662a8c3d5fd4c1cfee (patch) | |
tree | d3fcd558dae0b7fd0114ec25f4345d8158be6788 /src/test | |
parent | 6e5481ebb1858726604706d011e5c5f509ac5306 (diff) | |
download | trackermap-server-1a1126d2d39220f3f28d98662a8c3d5fd4c1cfee.tar.gz trackermap-server-1a1126d2d39220f3f28d98662a8c3d5fd4c1cfee.tar.bz2 trackermap-server-1a1126d2d39220f3f28d98662a8c3d5fd4c1cfee.zip |
Handle ST410 no GPS data
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java | 3 |
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;;;;")); |