Hi,
I’m using Traccar with clients that report via the OsmAnd protocol.
As far as I understand, OsmAnd uses stateless HTTP requests, so there is no persistent connection from server to client.
Does this mean that sending commands from Traccar is not supported at all for OsmAnd devices?
Is there any existing workaround, for example:
- client-side polling for commands
- custom HTTP endpoints
- or any extension on the Traccar side
Or is switching to a different protocol the only viable option if commands are required?
-- Cheers, Nils
We support commands for OsmAnd. Two different types of ways:
- We can queue commands and send them in the response for the next received message.
- We can send commands via Firebase notification. Works if you're building a mobile app.
We can queue commands and send them in the response for the next received message.
that sound interesting any example, im trying to make to make own cutom tracker and for sending the coordinate is very easy but sending the command to cut off the engine etc is well the documentation is kinda lacking, i know the OsmAnd not designed this way but tcp protocol limitation in the cloudflare force me to use http
thx Felix A
Hi,
I’m using Traccar with clients that report via the OsmAnd protocol.
As far as I understand, OsmAnd uses stateless HTTP requests, so there is no persistent connection from server to client.
Does this mean that sending commands from Traccar is not supported at all for OsmAnd devices?
Is there any existing workaround, for example:
Or is switching to a different protocol the only viable option if commands are required?
-- Cheers, Nils