aboutsummaryrefslogtreecommitdiff
path: root/test/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-05-19 00:37:00 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-05-19 00:37:00 +1200
commit05c7db487f3744f6abe348426c44fc708b252428 (patch)
tree028b162dbe0285afc5dd4e5c875c24e0a63af7bc /test/org
parentb3d221372103a677002428a57686b61e3facf32c (diff)
downloadtraccar-server-05c7db487f3744f6abe348426c44fc708b252428.tar.gz
traccar-server-05c7db487f3744f6abe348426c44fc708b252428.tar.bz2
traccar-server-05c7db487f3744f6abe348426c44fc708b252428.zip
Improve V680 decoder
Diffstat (limited to 'test/org')
-rw-r--r--test/org/traccar/protocol/V680ProtocolDecoderTest.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/org/traccar/protocol/V680ProtocolDecoderTest.java b/test/org/traccar/protocol/V680ProtocolDecoderTest.java
index fbf5d5ebd..1d1a74878 100644
--- a/test/org/traccar/protocol/V680ProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/V680ProtocolDecoderTest.java
@@ -22,9 +22,6 @@ public class V680ProtocolDecoderTest {
"#356823033219838#1000#0#1478#AUT#1#66830FFB#03855.6628,E,4716.6821,N,001.41,259#130812#143905"));
assertNotNull(decoder.decode(null, null,
- "356823033219838#1000#0#1478#AUT#1#66830FFB#03855.6628,E,4716.6821,N,001.41,259#130812#143905"));
-
- assertNotNull(decoder.decode(null, null,
"#353588102019155##1#0000#AUT#01#7240060be7873f#4849.079800,W,2614.458200,S,0.00,0.00#130413#182110.000"));
assertNotNull(decoder.decode(null, null,
@@ -32,6 +29,12 @@ public class V680ProtocolDecoderTest {
assertNotNull(decoder.decode(null, null,
"#352897045085282##0#0000#AUT#1#72400510730208,00d36307,10734fc4#4647.8922,W,2339.1956,S,2.60,63.74#200413#094310.000"));
+
+ assertNotNull(decoder.decode(null, null,
+ "#356823033537791##0#0000#AUT#1#V#03610.2179,E,5004.5796,N,000.01,349#180513#073758"));
+
+ assertNotNull(decoder.decode(null, null,
+ "#356823031236214##0#0000#AUT#1#V#01904.5491,E,6941.0085,N,000.09,248#170513#160140"));
}