aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-27 00:55:44 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-27 00:55:44 +1300
commitcf619556709df6d5481d2e4f712ddd6eeebab89d (patch)
tree29db1b3c291a4463ceb76685d86fbaecdcb11c07 /test/org
parent094a9acabf8f0b94d1c62f77a409dbf7e3b137f6 (diff)
downloadtrackermap-server-cf619556709df6d5481d2e4f712ddd6eeebab89d.tar.gz
trackermap-server-cf619556709df6d5481d2e4f712ddd6eeebab89d.tar.bz2
trackermap-server-cf619556709df6d5481d2e4f712ddd6eeebab89d.zip
Improve Watch data decoding
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/WatchProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/WatchProtocolDecoderTest.java b/test/org/traccar/protocol/WatchProtocolDecoderTest.java
index 6ba04bf8e..50f4c2ec0 100644
--- a/test/org/traccar/protocol/WatchProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/WatchProtocolDecoderTest.java
@@ -10,6 +10,9 @@ public class WatchProtocolDecoderTest extends ProtocolTest {
WatchProtocolDecoder decoder = new WatchProtocolDecoder(new WatchProtocol());
+ verifyPosition(decoder, buffer(
+ "[SG*352661090143150*006C*UD,150817,132115,V,28.435142,N,81.354333,W,2.2038,000,99,00,70,100,0,50,00000000,1,1,310,260,1091,30082,139,,00]"));
+
verifyAttributes(decoder, buffer(
"[3G*4700609403*0013*bphrt,120,79,73,,,,]"));