From f43c8f976e9dc22847ce7afd827f587e47c89d73 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 17 Jun 2020 20:56:05 -0700 Subject: Handle spaces in TK103 protocol --- src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/test/java/org/traccar') diff --git a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java index 4e654239d..f27a3e0c7 100644 --- a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java +++ b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest { Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(null); + verifyPosition(decoder, text( + "(027023361470BR00200617A4000.5775N 8415.4076W 46.0173725 87.3101000000L00000000)")); + verifyPosition(decoder, text( "(BALLESTEROS3BR00190408A4113.5700N00140.3100E000.0162431000.0001000000L00000000)")); -- cgit v1.2.3