diff options
author | Damien alias Dough <dough29@gmail.com> | 2016-09-03 09:35:29 +0200 |
---|---|---|
committer | Damien alias Dough <dough29@gmail.com> | 2016-09-03 09:35:29 +0200 |
commit | c9537fa61c07d58bccb24c9e387f09c4799a4196 (patch) | |
tree | 1d5fccf0c080e8a927fc53965d5f7081199792e0 /test/org | |
parent | 8ec8955876bbfaf9e2856ec50f2a011b1dee0eca (diff) | |
download | trackermap-server-c9537fa61c07d58bccb24c9e387f09c4799a4196.tar.gz trackermap-server-c9537fa61c07d58bccb24c9e387f09c4799a4196.tar.bz2 trackermap-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')
-rw-r--r-- | test/org/traccar/protocol/OsmAndProtocolDecoderTest.java | 3 |
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×tamp=1377177267&location=60.0,30.0")); + } } |