From 3ecba816b23e278cac690a9ceb366b9637bba775 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 18 Apr 2021 12:09:44 -0700 Subject: Fix coordinates decoding --- src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java') diff --git a/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java index e0dd1165b..321d0cb50 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 { var decoder = new Tk103ProtocolDecoder(null); + verifyPosition(decoder, text( + "(868822040452227,DW3B,150421,A,4154.51607N,45.78950E,0.050,103142,0.000,595.200,7,0)")); + verifyPosition(decoder, text( "(086375304593BR00210119A2220.0160N11335.4073E0000014000309.84001000293L0000015FP23BS27F)")); -- cgit v1.2.3