aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-02-06 13:14:49 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-02-06 13:14:49 +1300
commitba7185395e518a127cfbf4c3fa8f882f82a8efc1 (patch)
tree4d7baeba11a60a83bfc762681ef02b8f0437f8ff /test
parenta40d11eb40da51919eb21bef57865b149d4c3d2d (diff)
downloadtrackermap-server-ba7185395e518a127cfbf4c3fa8f882f82a8efc1.tar.gz
trackermap-server-ba7185395e518a127cfbf4c3fa8f882f82a8efc1.tar.bz2
trackermap-server-ba7185395e518a127cfbf4c3fa8f882f82a8efc1.zip
Fix H02 protocol pattern
Diffstat (limited to 'test')
-rw-r--r--test/org/traccar/protocol/H02ProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
index 235ef279e..46aee3aee 100644
--- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/H02ProtocolDecoderTest.java
@@ -15,6 +15,9 @@ public class H02ProtocolDecoderTest {
assertNotNull(decoder.decode(null, null,
"*HQ,123456789012345,V1,155850,A,5214.5346,N,2117.4683,E,0.00,270.90,131012,ffffffff,000000,000000,000000,000000"));
+ assertNotNull(decoder.decode(null, null,
+ "*HQ,354188045498669,V1,195200,A,701.8915,S,3450.3399,W,0.00,205.70,050213,ffffffff,000243,000000,000000"));
+
}
}