aboutsummaryrefslogtreecommitdiff
path: root/test/org/traccar
diff options
context:
space:
mode:
authorDamien alias Dough <dough29@gmail.com>2016-09-03 09:35:29 +0200
committerDamien alias Dough <dough29@gmail.com>2016-09-03 09:35:29 +0200
commitc9537fa61c07d58bccb24c9e387f09c4799a4196 (patch)
tree1d5fccf0c080e8a927fc53965d5f7081199792e0 /test/org/traccar
parent8ec8955876bbfaf9e2856ec50f2a011b1dee0eca (diff)
downloadtraccar-server-c9537fa61c07d58bccb24c9e387f09c4799a4196.tar.gz
traccar-server-c9537fa61c07d58bccb24c9e387f09c4799a4196.tar.bz2
traccar-server-c9537fa61c07d58bccb24c9e387f09c4799a4196.zip
As exposed on forum thread - https://www.traccar.org/forums/topic/tracking-through-http-url-request/ - add location parameter to OsmAnd protocol for coma separated lat & lon.
Diffstat (limited to 'test/org/traccar')
-rw-r--r--test/org/traccar/protocol/OsmAndProtocolDecoderTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java b/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java
index 6ec885058..1dc89b251 100644
--- a/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java
+++ b/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java
@@ -34,6 +34,9 @@ public class OsmAndProtocolDecoderTest extends ProtocolTest {
verifyPosition(decoder, request(
"/?id=861001000719969&lat=41.666667&lon=-0.883333&altitude=350.059479&speed=0.000000&batt=87"));
+ verifyPosition(decoder, request(
+ "/?id=123456&timestamp=1377177267&location=60.0,30.0"));
+
}
}