aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar/protocol/OkoProtocolDecoderTest.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-11-15 22:28:25 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-11-15 22:28:25 +1300
commit09ee4cc93d600edce023f414c9d373639c137975 (patch)
tree7995615ab99aadec97eb9cffc94f0bd1b0dbc3ab /test/org/traccar/protocol/OkoProtocolDecoderTest.java
parent0a2205a648243a755325c2cfceaa630f887d8952 (diff)
downloadtrackermap-server-09ee4cc93d600edce023f414c9d373639c137975.tar.gz
trackermap-server-09ee4cc93d600edce023f414c9d373639c137975.tar.bz2
trackermap-server-09ee4cc93d600edce023f414c9d373639c137975.zip
Improve OKO NAVI regex pattern
Diffstat (limited to 'test/org/traccar/protocol/OkoProtocolDecoderTest.java')
-rw-r--r--test/org/traccar/protocol/OkoProtocolDecoderTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/OkoProtocolDecoderTest.java b/test/org/traccar/protocol/OkoProtocolDecoderTest.java
index a13839d5b..7e913ca2b 100644
--- a/test/org/traccar/protocol/OkoProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/OkoProtocolDecoderTest.java
@@ -11,6 +11,12 @@ public class OkoProtocolDecoderTest extends ProtocolTest {
OkoProtocolDecoder decoder = new OkoProtocolDecoder(new OkoProtocol());
verifyPosition(decoder, text(
+ "{861694033681089,045403.00,A,4924.14181,N,03207.43787,E,0.080,,151117,07,0.00,01,24.8,1,02,5n4}"));
+
+ verifyPosition(decoder, text(
+ "{045411.00,A,4924.14243,N,03207.43754,E,0.172,,151117,07,0.00,F9,28.1,2,C2,5n4}"));
+
+ verifyPosition(decoder, text(
"{861001001016415,115031.000,A,4804.101180,N,02255.227002,E,4.121,111.0,211215,6,0.00,F7,13.6,1,00"));
verifyPosition(decoder, text(