aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-05-08 13:13:46 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2018-05-08 13:13:46 -0700
commite35ba89765eda5919870b3dfe43230974cf77a5e (patch)
tree5dbf7038b14ed37f21d8d46aeaa5bb9cfbd16822 /test/org/traccar
parentbf64e10bf3062a2d76dd2302f3c169e8f7478aa1 (diff)
downloadtrackermap-server-e35ba89765eda5919870b3dfe43230974cf77a5e.tar.gz
trackermap-server-e35ba89765eda5919870b3dfe43230974cf77a5e.tar.bz2
trackermap-server-e35ba89765eda5919870b3dfe43230974cf77a5e.zip
Handle partial GPRMC sentence
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/T55ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/T55ProtocolDecoderTest.java b/test/org/traccar/protocol/T55ProtocolDecoderTest.java
index ec699f111..298540e3b 100644
--- a/test/org/traccar/protocol/T55ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/T55ProtocolDecoderTest.java
@@ -20,6 +20,12 @@ public class T55ProtocolDecoderTest extends ProtocolTest {
"358244017671308"));
verifyPosition(decoder, text(
+ "$GPGGA,082350.000,5355.0314,N,01044.1271,E,1,10,0.7,-46.0,M,0.0,M,0.0,0000"));
+
+ verifyPosition(decoder, text(
+ "$GPRMC,082350.000,A,5355.0314,N,01044.1271,E,26.20,184.27,080518,,"));
+
+ verifyPosition(decoder, text(
"$GPRMC,192350.000,V,0000.0000,N,00000.0000,E,,,110318,,*12"));
verifyPosition(decoder, text(