aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-11-18 06:44:16 -0800
committerAnton Tananaev <anton@traccar.org>2023-11-18 06:44:16 -0800
commit2d584e225ac56de1432a15243f981e294215fd10 (patch)
tree8c693f0e1bddbf42acd319e9baf5fa6e138d56ca /src/test/java/org
parenta7a5e0ad20d707e7f3527503ed124c6986118e87 (diff)
downloadtrackermap-server-2d584e225ac56de1432a15243f981e294215fd10.tar.gz
trackermap-server-2d584e225ac56de1432a15243f981e294215fd10.tar.bz2
trackermap-server-2d584e225ac56de1432a15243f981e294215fd10.zip
Implement CR-GPS protocol support
Diffstat (limited to 'src/test/java/org')
-rw-r--r--src/test/java/org/traccar/protocol/PortmanProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/java/org/traccar/protocol/PortmanProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/PortmanProtocolDecoderTest.java
index c5d57aa25..c4fbff7e9 100644
--- a/src/test/java/org/traccar/protocol/PortmanProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/PortmanProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class PortmanProtocolDecoderTest extends ProtocolTest {
var decoder = inject(new PortmanProtocolDecoder(null));
verifyPosition(decoder, text(
+ "%%355854050074633,A,200612153351,N2543.0681W10009.2974,0,190,NA,C9830000,NA,108,8,2.66,16"));
+
+ verifyPosition(decoder, text(
"$EXT,P0RTMANGRANT,A,210609201710,N0951.6879W08357.0129,0,0,NA,NA,11,25,174700.25,NA,01820000,108"));
verifyPosition(decoder, text(