From 0d5b1440503ee50127554e0664b0ae7cbf9a25fd Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 4 Jun 2017 09:48:38 -0700 Subject: Fix MU-201 message decoding (fix #3220) --- test/org/traccar/protocol/SanavProtocolDecoderTest.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/org/traccar/protocol') diff --git a/test/org/traccar/protocol/SanavProtocolDecoderTest.java b/test/org/traccar/protocol/SanavProtocolDecoderTest.java index be7b3bbf4..903f0aec0 100644 --- a/test/org/traccar/protocol/SanavProtocolDecoderTest.java +++ b/test/org/traccar/protocol/SanavProtocolDecoderTest.java @@ -9,6 +9,9 @@ public class SanavProtocolDecoderTest extends ProtocolTest { public void testDecode() throws Exception { SanavProtocolDecoder decoder = new SanavProtocolDecoder(new SanavProtocol()); + + verifyPosition(decoder, text( + "imei=1234567890&rmc=$GPRMC,091950.00,V,5300.10000,N,00900.14000,E,0.160,,200513,,,A*68,STOP,V3.872;67%,S4,H8.3,D2.38")); verifyPosition(decoder, text( "imei=352024028982787&rmc=$GPRMC,103048.000,A,4735.0399,N,01905.2895,E,0.00,0.00,171013,,*05,AUTO-4095mv"), -- cgit v1.2.3