aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-04-06 05:36:59 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-04-06 05:36:59 +1200
commit6b0689b67d46e5503087e8bc3a53abb02769a461 (patch)
treeded9e995f65d29e5ecb83f5df1ad7582b457e9c2 /test
parent2a768a85e6de2a0b7049764b1f936d8cbcbe23bc (diff)
downloadtrackermap-server-6b0689b67d46e5503087e8bc3a53abb02769a461.tar.gz
trackermap-server-6b0689b67d46e5503087e8bc3a53abb02769a461.tar.bz2
trackermap-server-6b0689b67d46e5503087e8bc3a53abb02769a461.zip
Reimplement GoSafe protocol decoder
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/GoSafeProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java b/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
index 3e4e8f413..5485368b9 100644
--- a/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class GoSafeProtocolDecoderTest extends ProtocolTest {
GoSafeProtocolDecoder decoder = new GoSafeProtocolDecoder(new GoSafeProtocol());
verifyPositions(decoder, text(
+ "*GS06,860078024287174,070120310318,,SYS:G3SC;V3.32;V1.1.8,GPS:A;9;N23.169946;E113.450568;0;0;23;0.86,COT:65;20,ADC:4.27;3.73;0.01;0.02,DTT:4004;E0;0;0;0;1,IWD:0;0;000000000000#"));
+
+ verifyPositions(decoder, text(
"*GS06,860078024213915,032544190318,,SYS:G3SC;V3.32;V1.1.8,GPS:A;7;N3.052417;E101.787112;0;0;94;1.38,COT:686;0-0-0,ADC:16.25;4.09,DTT:4000;E0;0;0;0;1#"));
verifyPositions(decoder, text(