aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-06 10:34:41 +0300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-08-06 10:34:41 +0300
commitb8b330317dbac78c2d0a007a195efd8d42b3e791 (patch)
tree38eae134fac5b9b549a6fdf06c0e3490b8f0b1e1 /test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
parent08e058e868566e44a8e955fa8d18bdae5630ecec (diff)
downloadtrackermap-server-b8b330317dbac78c2d0a007a195efd8d42b3e791.tar.gz
trackermap-server-b8b330317dbac78c2d0a007a195efd8d42b3e791.tar.bz2
trackermap-server-b8b330317dbac78c2d0a007a195efd8d42b3e791.zip
Support temperature for TK103 protocol
Diffstat (limited to 'test/org/traccar/protocol/Tk103ProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/Tk103ProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
index b15d7894e..c1bf148bc 100644
--- a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
@@ -10,6 +10,12 @@ public class Tk103ProtocolDecoderTest extends ProtocolTest {
Tk103ProtocolDecoder decoder = new Tk103ProtocolDecoder(new Tk103Protocol());
+ verifyPosition(decoder, text(
+ "(088046338039BR00160727A3354.7768N03540.7258E000.0140832068.4700000000L00BEB0D4+017.7)"));
+
+ verifyPosition(decoder, text(
+ "(088046338039BP05000088046338039160727A3354.7768N03540.7258E000.0140309065.1000000000L00BEB0D4+017.3)"));
+
verifyAttributes(decoder, text(
"(013632651491,ZC20,180716,144222,6,392,65535,255"));