From 030abec1d657065990fa6e1dc7f22fd56a316b35 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 8 Jan 2017 19:30:23 +1300 Subject: Improve regex patter to handle ET800E --- test/org/traccar/protocol/ExtremTracProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/ExtremTracProtocolDecoderTest.java b/test/org/traccar/protocol/ExtremTracProtocolDecoderTest.java index 82e461fc7..afcefb843 100644 --- a/test/org/traccar/protocol/ExtremTracProtocolDecoderTest.java +++ b/test/org/traccar/protocol/ExtremTracProtocolDecoderTest.java @@ -10,6 +10,9 @@ public class ExtremTracProtocolDecoderTest extends ProtocolTest { ExtremTracProtocolDecoder decoder = new ExtremTracProtocolDecoder(new ExtremTracProtocol()); + verifyPosition(decoder, text( + "$GPRMC,862106020628733,050859.000,A,1404.8573,N,08710.9967,W,0.00,0,080117,0,,00C8,00218,99,,,,,,0.00")); + verifyPosition(decoder, text( "$GPRMC,10000000001,092313.299,A,2238.8947,N,11355.2253,E,0.00,311.19,010307,0,,")); -- cgit v1.2.3