diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-04 09:48:38 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-04 09:48:51 -0700 |
commit | 0d5b1440503ee50127554e0664b0ae7cbf9a25fd (patch) | |
tree | b9d2045cda946dc31be67cb00ef376e45806b35a /test/org/traccar/protocol/SanavProtocolDecoderTest.java | |
parent | 40cb222dddfe3c0acdf6043617e00d7deaa4646c (diff) | |
download | trackermap-server-0d5b1440503ee50127554e0664b0ae7cbf9a25fd.tar.gz trackermap-server-0d5b1440503ee50127554e0664b0ae7cbf9a25fd.tar.bz2 trackermap-server-0d5b1440503ee50127554e0664b0ae7cbf9a25fd.zip |
Fix MU-201 message decoding (fix #3220)
Diffstat (limited to 'test/org/traccar/protocol/SanavProtocolDecoderTest.java')
-rw-r--r-- | test/org/traccar/protocol/SanavProtocolDecoderTest.java | 3 |
1 files changed, 3 insertions, 0 deletions
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"), |