aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-15 10:55:43 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-15 10:55:43 +1300
commite36c69db0c5e610d30977de7b2fa71e715d9a1ae (patch)
tree23dc1bb35a235f5a5dd8607efcd9a223913ee0fe /test
parent997cd43457c01440ec32ec19e0fa3f3b7be3bdb9 (diff)
downloadtrackermap-server-e36c69db0c5e610d30977de7b2fa71e715d9a1ae.tar.gz
trackermap-server-e36c69db0c5e610d30977de7b2fa71e715d9a1ae.tar.bz2
trackermap-server-e36c69db0c5e610d30977de7b2fa71e715d9a1ae.zip
Support Sysomate TMD-300 format
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/TrakMateProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TrakMateProtocolDecoderTest.java b/test/org/traccar/protocol/TrakMateProtocolDecoderTest.java
index acfac6f4b..4352fc935 100644
--- a/test/org/traccar/protocol/TrakMateProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/TrakMateProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class TrakMateProtocolDecoderTest extends ProtocolTest {
TrakMateProtocolDecoder decoder = new TrakMateProtocolDecoder(null);
verifyPosition(decoder, text(
+ "^TMSTP|352984083995323|116|13.07809|77.55979|131508|131118|0.0|146.51|7|0|71 -2 248|0|13.1|0.0|10.5|1|0|0|0|#"));
+
+ verifyPosition(decoder, text(
"^TMPER|354678456723764|1|12.59675|77.56789|123456|030414|2.3|34.0|1|0|0|0.015|3.9|12.0|23.4|23.4|1|1|0|#"));
verifyPosition(decoder, text(