aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-20 06:52:26 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-20 06:52:26 +1300
commit2449895139fa658d082c1085185003a001225bc3 (patch)
tree8b657c86e799e13d2ee981f23339c0db5ce92015 /test/org/traccar/protocol
parente024acd5226383375c00b2632f72114d6345f446 (diff)
downloadtrackermap-server-2449895139fa658d082c1085185003a001225bc3.tar.gz
trackermap-server-2449895139fa658d082c1085185003a001225bc3.tar.bz2
trackermap-server-2449895139fa658d082c1085185003a001225bc3.zip
Implement TAIP protocol variant
Diffstat (limited to 'test/org/traccar/protocol')
-rw-r--r--test/org/traccar/protocol/TaipProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/TaipProtocolDecoderTest.java b/test/org/traccar/protocol/TaipProtocolDecoderTest.java
index 871ec84b3..74956f51c 100644
--- a/test/org/traccar/protocol/TaipProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/TaipProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class TaipProtocolDecoderTest extends ProtocolTest {
TaipProtocolDecoder decoder = new TaipProtocolDecoder(new TaipProtocol(), false);
verifyPosition(decoder, text(
+ ">RCQ09000000000000-3460365-058381460000007F0000000000000115000FFFF1099;#0000;ID=555224;*05<"));
+
+ verifyPosition(decoder, text(
+ ">RBR00130217040848-3462200-05846708000175FF0022900003B3C13010800001118410+24061A;ID=555224;*07<"));
+
+ verifyPosition(decoder, text(
">REV451891352379+0307152+1016143700000012;SV=8;BL=4416;VO=8055;ID=356612026322000<"));
verifyPosition(decoder, text(