aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-04-09 21:47:16 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-04-09 21:47:16 +1200
commit1f4dc7e4413aae6f8e927d7d5a9c40a8bd0ae082 (patch)
treea3f7a1445d30d3e08a61b3b0075d2d98a9dd640d /test/org/traccar
parente104f5636d53311dfd91cafaa2cdea65260ae7dc (diff)
downloadtrackermap-server-1f4dc7e4413aae6f8e927d7d5a9c40a8bd0ae082.tar.gz
trackermap-server-1f4dc7e4413aae6f8e927d7d5a9c40a8bd0ae082.tar.bz2
trackermap-server-1f4dc7e4413aae6f8e927d7d5a9c40a8bd0ae082.zip
Import cGuard protocol decoder (fix #3080)
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/CguardProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/CguardProtocolDecoderTest.java b/test/org/traccar/protocol/CguardProtocolDecoderTest.java
index ff9ecb9be..3a3aa2332 100644
--- a/test/org/traccar/protocol/CguardProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/CguardProtocolDecoderTest.java
@@ -14,6 +14,12 @@ public class CguardProtocolDecoderTest extends ProtocolTest {
"IDRO:354868050655283"));
verifyPosition(decoder, text(
+ "NV:170409 031456:56.808553:60.595476:0:NAN:0"));
+
+ verifyAttributes(decoder, text(
+ "BC:170409 031456:CSQ1:64:NSQ1:17:PWR1:0"));
+
+ verifyPosition(decoder, text(
"NV:161007 122043:55.812730:37.733689:3.62:NAN:244.05:143.4"));
verifyPosition(decoder, text(