aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-07-17 08:11:29 -0700
committerAnton Tananaev <anton@traccar.org>2022-07-17 08:11:29 -0700
commit09a85fa9e43b9781d3d8e12bbbe0ff42a7d02b12 (patch)
treee44bdc5115d8486b746fb3cead81b6d53660bcdb /src/test/java/org/traccar/protocol
parentee30e6e63f110476f557ed4ca8a081eb5b589101 (diff)
downloadtrackermap-server-09a85fa9e43b9781d3d8e12bbbe0ff42a7d02b12.tar.gz
trackermap-server-09a85fa9e43b9781d3d8e12bbbe0ff42a7d02b12.tar.bz2
trackermap-server-09a85fa9e43b9781d3d8e12bbbe0ff42a7d02b12.zip
Support C2Stek variation (fix #4331)
Diffstat (limited to 'src/test/java/org/traccar/protocol')
-rw-r--r--src/test/java/org/traccar/protocol/C2stekProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/C2stekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/C2stekProtocolDecoderTest.java
index fbb530e7f..28876075d 100644
--- a/src/test/java/org/traccar/protocol/C2stekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/C2stekProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class C2stekProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new C2stekProtocolDecoder(null));
verifyPosition(decoder, text(
+ "PA$012207006145046$D#190607#123157#1#37.947087#023.768669#000.00#314.6#00000.0#4104#000#8$AP"));
+
+ verifyPosition(decoder, text(
"PA$867965024889327$D#220222#135059#0#+37.98995#+23.85141#0.00#69.2#0.0#0000#000#8#00#sz-w1001#B2600$AP"));
verifyPosition(decoder, text(