Send Commands to a group or individual tracker
Parameters
- user - user name
- pwd - md5 hash of the password
- token - Group token may be used instead of user and pwd
- grpid - Will send a command to all the trackers in the group
- deviceSn - If set the groupid will be ignored, it will send a command to the Tracker. User must be the owner of the tracker, token is not allowed in this case.
- ttl - time to Live of the command in minutes: The command will not be sent if the ttl passes before the tracker gets connected. IF NOT DEFINED TTL WILL BE SET TO 6 HOURS
- command : config command
- 1 Shutdown device, payload: 0=shutdown, 1=reset, 2=stop flight
- 2 Restore_defaults
- 3 Set utc, payload contains UTC offset in minutes
- 4 Set comp mode, payload: 0 = normal mode, 1 compe mode
- 5 Delete all waypoints
- 6 Sends group waypoints to instrument, payload is the group id
- 7 Deletes all flights from instrument's memory
- 8 Set track interval. Payload is the interval in seconds
- 9 Set start speed. Payload is the interval in kilometers per hour
- 10 Enable/Disable Freefall detection, payload: 0=disable, 1=enable
- 11 Fetch Task, Forces instrument to get task from group id, payload is groupid
- payload = depends on command