aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/T55ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-12 00:51:46 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-12 10:06:59 +1300
commit8874b4bf69f38ef94d70bef2a8e4d52e0845fa77 (patch)
treed7b733ef90d3d64c7361a61e0abcd20294c7b7d6 /test/org/traccar/protocol/T55ProtocolDecoderTest.java
parent755874d6e42a68178db75d9037785fc8271382a1 (diff)
downloadtrackermap-server-8874b4bf69f38ef94d70bef2a8e4d52e0845fa77.tar.gz
trackermap-server-8874b4bf69f38ef94d70bef2a8e4d52e0845fa77.tar.bz2
trackermap-server-8874b4bf69f38ef94d70bef2a8e4d52e0845fa77.zip
Support STEPP 3 FALCOM messages
Diffstat (limited to 'test/org/traccar/protocol/T55ProtocolDecoderTest.java')
-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 7f60a1807..ec699f111 100644
--- a/test/org/traccar/protocol/T55ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/T55ProtocolDecoderTest.java
@@ -11,12 +11,18 @@ public class T55ProtocolDecoderTest extends ProtocolTest {
T55ProtocolDecoder decoder = new T55ProtocolDecoder(new T55Protocol());
verifyNull(decoder, text(
+ "$IMEI=355797031609284"));
+
+ verifyNull(decoder, text(
"086415031C20"));
verifyNull(decoder, text(
"358244017671308"));
verifyPosition(decoder, text(
+ "$GPRMC,192350.000,V,0000.0000,N,00000.0000,E,,,110318,,*12"));
+
+ verifyPosition(decoder, text(
"$GPRMC,073446.000,A,1255.5125,N,07738.2948,E,0.00,0.53,080316,D*71,11,865733027593268,1,090,086,123,456,789,987,12345"));
verifyNotNull(decoder, text(