aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-08-19 13:01:46 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-08-19 13:01:46 +1200
commitdd5f81b6ccaca626d07f7524abf44d8cb95b4faf (patch)
tree20c9ced92627d2f7a6d3fa07be675baa138e4374 /test
parentd7725b0fb8ecde4d883a07d8bc4e77974c56eada (diff)
downloadtrackermap-server-dd5f81b6ccaca626d07f7524abf44d8cb95b4faf.tar.gz
trackermap-server-dd5f81b6ccaca626d07f7524abf44d8cb95b4faf.tar.bz2
trackermap-server-dd5f81b6ccaca626d07f7524abf44d8cb95b4faf.zip
Add Suntech ST500 support
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/SuntechProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/SuntechProtocolDecoderTest.java b/test/org/traccar/protocol/SuntechProtocolDecoderTest.java
index bb0710340..d46ca3d34 100644
--- a/test/org/traccar/protocol/SuntechProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/SuntechProtocolDecoderTest.java
@@ -31,6 +31,9 @@ public class SuntechProtocolDecoderTest extends ProtocolTest {
SuntechProtocolDecoder decoder = new SuntechProtocolDecoder(new SuntechProtocol());
verifyPosition(decoder, text(
+ "ST500STT;205450135;07;843;20170816;23:24:45;+19.338432;-099.179817;000.283;000.00;6;1;141121;12.89;0;0;1;4659;002.795;0;001.891;611;4.0"));
+
+ verifyPosition(decoder, text(
"ST300STT;205170303;12;561;20170816;09:10:34;173f53;+19.082370;-098.214287;006.776;000.00;0;0;52982186;12.75;100000;2;6328;155747;4.2;1;0.00;0;0.00;0.00;00000000000000;0;28F2B7600600005D:+5.2;:;:"));
verifyPosition(decoder, text(