From 83c66842e675eee90f59080d37c919e0e7fed4df Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 12 Jun 2021 13:36:08 -0700 Subject: Support extended Portman format --- src/test/java/org/traccar/protocol/PortmanProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/test') 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 @@ -10,6 +10,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")); -- cgit v1.2.3