traccar-client-android icon indicating copy to clipboard operation
traccar-client-android copied to clipboard

Allow the server to issue commands

Open luke-jr opened this issue 8 years ago • 2 comments
trafficstars

I would like to have a way for my server to ask the client to open a SSH tunnel on demand. This could be done by simply executing a command provided by the server. It would make sense to require enabling this feature explicitly, and only allow it when encryption is enabled.

luke-jr avatar May 26 '17 06:05 luke-jr

Probably the easiest way to send command to the client is through HTTP response, but of course client needs to send a request with location data first.

tananaev avatar May 26 '17 06:05 tananaev

Yes, that was exactly my thought. The primary purpose of Traccar of course is to send location. This gives it an ideal opportunity to receive such a command in the HTTP reply.

luke-jr avatar May 26 '17 06:05 luke-jr