aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/SiwiProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-10 03:26:45 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-10 03:26:45 +1300
commit00c43f11c0da147d0adf3653b7494ea268e99cf2 (patch)
tree422298901604e9132942e2d0730f4612fbfb7d50 /test/org/traccar/protocol/SiwiProtocolDecoderTest.java
parent8fc557730791d238c7f838c2b11c99fbcf95637d (diff)
downloadtrackermap-server-00c43f11c0da147d0adf3653b7494ea268e99cf2.tar.gz
trackermap-server-00c43f11c0da147d0adf3653b7494ea268e99cf2.tar.bz2
trackermap-server-00c43f11c0da147d0adf3653b7494ea268e99cf2.zip
Fix Siwi protocol decoder
Diffstat (limited to 'test/org/traccar/protocol/SiwiProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/SiwiProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/SiwiProtocolDecoderTest.java b/test/org/traccar/protocol/SiwiProtocolDecoderTest.java
index c5c93b7d0..19d1552b2 100644
--- a/test/org/traccar/protocol/SiwiProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/SiwiProtocolDecoderTest.java
@@ -11,6 +11,9 @@ public class SiwiProtocolDecoderTest extends ProtocolTest {
SiwiProtocolDecoder decoder = new SiwiProtocolDecoder(new SiwiProtocol());
verifyPosition(decoder, text(
+ "$SIWI,9803932,23992,E,0,,0,1,1,0,5055,0,5,A,22.289887,70.807192,152,168,102922,090317,28,1,12,5,4098,1,0,13,0,0,0,1.0,3.1CHKS_4.82,0!"));
+
+ verifyPosition(decoder, text(
"$SIWI,2845,1320,Q,10,airtelgprs.com,1,1,0,0,876578,43,9,A,19.0123456,72.65347,45,0,055929,071107,22,5,1,0,3700,1210,0,2500,1230,321,0,1.1,4.0,1!"));
verifyPosition(decoder, text(