OsmAnd protocol and parameters

Andrea4 years ago

I see that the Android app is using the OsmAnd protocol, but in this page https://www.traccar.org/osmand/ I don't see the parameters to send the battery level, accuracy, altitude, speed, distance and direction.
Where can I find them?
Thanks!

Anton Tananaev4 years ago

In the corresponding decoder class.

Andrea4 years ago

Anton, thanks for your reply, but...hemmm...where do I find the "corresponding decoder class"

Chitlange Sahas2 years ago
Jesse Pfieffer7 months ago

After looking at the "Test" there is a "batt" variable but not a "charge" variable listed. But it is the same protocol that the phone and android apps use and they are able to communicate that data. So what is the proper variable name in the url for charging? I tried charge and that doesn't work.

Anton Tananaev7 months ago

Both "batt" and "charge" are supported and mean different things.