Hi,
I have a GPS tracking system built for runners, with a raspberry pi base station that communicates with Traccar. I have set it up and I input data to it through OsmAnd protocol, which works fine. I'd like to send commands back to the devices in some way, however I haven't found out what happens if I send a command. I'm using Traccar on Linux and Raspbian, so a good way would be to listen on a socket or something similar to extract the data from the command sent.
Can you give me a hint on how can I "catch" a command with attributes?
Thanks,
Tibor
You should receive commands in the HTTP response.
So If I send in new data from a device, the queued commands will be sent in the HTTP response?
Basically I need to poll the server for commands?
Cool, it's working! Thank you Anton!
Hi,
I have a GPS tracking system built for runners, with a raspberry pi base station that communicates with Traccar. I have set it up and I input data to it through OsmAnd protocol, which works fine. I'd like to send commands back to the devices in some way, however I haven't found out what happens if I send a command. I'm using Traccar on Linux and Raspbian, so a good way would be to listen on a socket or something similar to extract the data from the command sent.
Can you give me a hint on how can I "catch" a command with attributes?
Thanks,
Tibor