From 1d3cd09b327535388d78297c0f6a249a66331cea Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 11 Jul 2021 12:27:04 -0700 Subject: Support iStartek command results --- src/test/java/org/traccar/protocol/StartekProtocolDecoderTest.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/test/java/org/traccar') 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")); -- cgit v1.2.3