aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-07-11 12:27:04 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-07-11 12:27:04 -0700
commit1d3cd09b327535388d78297c0f6a249a66331cea (patch)
tree83e42eae89d0d5763e33264eb57618837afaedd3 /src/test/java/org/traccar
parentc915753bb9490796f3ce27c7b07d50370fdf67e5 (diff)
downloadtrackermap-server-1d3cd09b327535388d78297c0f6a249a66331cea.tar.gz
trackermap-server-1d3cd09b327535388d78297c0f6a249a66331cea.tar.bz2
trackermap-server-1d3cd09b327535388d78297c0f6a249a66331cea.zip
Support iStartek command results
Diffstat (limited to 'src/test/java/org/traccar')
-rw-r--r--src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java
index 81f2f8f69..e85672326 100644
--- a/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java
@@ -11,6 +11,10 @@ public class StartekProtocolDecoderTest extends ProtocolTest {
var decoder = new StartekProtocolDecoder(null);
+ verifyAttribute(decoder, text(
+ "&&:23,860262050015424,129,OKA2"),
+ Position.KEY_RESULT, "129,OK");
+
verifyPosition(decoder, text(
"&&o125,861157040554384,000,0,,210702235150,A,27.263505,153.037061,11,1.2,0,0,31,5125,505|1|7032|8C89802,20,0000002D,00,00,01E2|019DF0"));