Custom command using api

siokstoksanoks8 years ago

Hi Anton,

Is there a way to send custom string or binary commands using new api?
Like track by time (periodic reporting) or toggle movement, vibration alarms, sleeping?

Thanks

Anton Tananaev8 years ago

Yes, you can send custom commands. There is a special command type for that.

siokstoksanoks8 years ago

Is there any example how to use it?

Anton Tananaev8 years ago

You can take a look at Traccar default web interface. It can send custom commands:

https://github.com/tananaev/traccar/blob/master/web/app/view/CommandDialogController.js#L45