aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-05-17 08:00:49 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2017-05-17 08:00:49 +1200
commit51542a55b769cb82cdc04ad7119632b9561478f3 (patch)
tree29994f4f64907af60547b38b41ad2f02ca681fd2 /test/org/traccar
parent1306899a67b28ad9cc0e6467291f3c8597df5479 (diff)
downloadtraccar-server-51542a55b769cb82cdc04ad7119632b9561478f3.tar.gz
traccar-server-51542a55b769cb82cdc04ad7119632b9561478f3.tar.bz2
traccar-server-51542a55b769cb82cdc04ad7119632b9561478f3.zip
Add Watch heart message (fix #3171)
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/WatchProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/WatchProtocolDecoderTest.java b/test/org/traccar/protocol/WatchProtocolDecoderTest.java
index 9f402cef2..a1b9e458a 100644
--- a/test/org/traccar/protocol/WatchProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/WatchProtocolDecoderTest.java
@@ -69,6 +69,12 @@ public class WatchProtocolDecoderTest extends ProtocolTest {
verifyAttributes(decoder, text(
"[CS*8800000015*0008*PULSE,72"));
+ verifyAttributes(decoder, text(
+ "[3G*6005412902*0007*heart,0"));
+
+ verifyAttributes(decoder, text(
+ "[3G*6005412902*0008*heart,71"));
+
}
}