How can I send multiple data over OsmAnd at one shot.

danilofranco9 years ago

Dear All,

How can I send multiple data over OsmAnd at one single shot.

Example

id=123456&lat=-23.616337&lon=-46.571121&timestamp=1443010660&hdop=3&altitude=4&speed=15
id=123456&lat=-23.616340&lon=-46.570713&timestamp=1443010670&hdop=3&altitude=4&speed=25

Is there any chance to send both in order to maximize bandwidth?
How do I do that using CR LF or &. I have tried both, none worked so far.

Best Regards,

Danilo Franco

Anton Tananaev9 years ago

Bundling multiple messages into a single request is not supported by OsmAnd protocol, but it should be possible to keep connection alive to reduce traffic usage a little bit.