aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-06-12 13:36:08 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-06-12 13:36:08 -0700
commit83c66842e675eee90f59080d37c919e0e7fed4df (patch)
tree7078ef6c163d765a44ae69498c189ade05762404 /src/test/java/org
parent1580ad6d6e2fd20ba75438163b8c3eb65f62f174 (diff)
downloadtrackermap-server-83c66842e675eee90f59080d37c919e0e7fed4df.tar.gz
trackermap-server-83c66842e675eee90f59080d37c919e0e7fed4df.tar.bz2
trackermap-server-83c66842e675eee90f59080d37c919e0e7fed4df.zip
Support extended Portman format
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 5cc98d7e4..37798d960 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 = new PortmanProtocolDecoder(null);
verifyPosition(decoder, text(
+ "$EXT,P0RTMANGRANT,A,210609201710,N0951.6879W08357.0129,0,0,NA,NA,11,25,174700.25,NA,01820000,108"));
+
+ verifyPosition(decoder, text(
"$PTMLA,355854050074633,A,200612153351,N2543.0681W10009.2974,0,190,NA,C9830000,NA,108,8,2.66,16,GNA"));
}