diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-23 11:41:06 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-23 11:41:32 +1200 |
commit | 88cc68e95606866a7f14c23f753462c6ed837703 (patch) | |
tree | 5a020b1c10075158e0611816cb60082d71c69460 /test/org | |
parent | 7ca76c37de75e4aeb617c51fa7b3a32ae8d25ae2 (diff) | |
download | trackermap-server-88cc68e95606866a7f14c23f753462c6ed837703.tar.gz trackermap-server-88cc68e95606866a7f14c23f753462c6ed837703.tar.bz2 trackermap-server-88cc68e95606866a7f14c23f753462c6ed837703.zip |
Decode Sanav IO status
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/protocol/SanavProtocolDecoderTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/org/traccar/protocol/SanavProtocolDecoderTest.java b/test/org/traccar/protocol/SanavProtocolDecoderTest.java index 903f0aec0..3dea71e93 100644 --- a/test/org/traccar/protocol/SanavProtocolDecoderTest.java +++ b/test/org/traccar/protocol/SanavProtocolDecoderTest.java @@ -11,6 +11,9 @@ public class SanavProtocolDecoderTest extends ProtocolTest { SanavProtocolDecoder decoder = new SanavProtocolDecoder(new SanavProtocol()); verifyPosition(decoder, text( + "imei=353197040023431&rmc=$GPRMC,015258.000,A,2457.8101,N,12125.5393,E,0.00,0.00,210111,,*18,AUTO,0300,2.1,10,466,97,34E7,3391,74,466,9 7,3F2D,3391,65,466,97,39C9,3391,79,466,97,3F2C,3391,81,466,97,0000,00 00,83,466,97,0000,0000,85,466,97,0000,0000,85,1,24")); + + 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( @@ -27,10 +30,7 @@ public class SanavProtocolDecoderTest extends ProtocolTest { "imei:352024020976845rmc:$GPRMC,000201.000,A,4655.7043,N,01941.3796,E,0.54,159.14,171013,,,A*65,AUTO")); verifyPosition(decoder, text( - "imei=352024028982787&rmc=$GPRMC,103048.000,A,4735.0399,N,01905.2895,E,0.00,0.00,171013,,")); - - verifyPosition(decoder, text( - "65,AUTOimei=352024028982787&rmc=$GPRMC,103048.000,A,4735.0399,N,01905.2895,E,0.00,0.00,171013,,")); + "imei:352024020976845rmc:$GPRMC,000201.000,A,4655.7043,N,01941.3796,E,0.54,159.14,171013,,,A*65,AUTO")); } |