Command disabled: backlink

Table of Contents

Execute command

To send a command to a unit, use the request unit/exec_cmd:

svc=unit/exec_cmd&params={"itemId":<long>,
			  "cmdName":<text>,
			  "cmdParam":<text>,
			  "linkType":<text>,
			  "timeout":<uint>}

Parameters

Name Description
itemId unit ID
cmdName command name
linkType link type (see Command parameters)
cmdParam parameters (if necessary)
timeout timeout for command to wait in commands queue, in seconds

Response

{}	/* empty object if execution successful, if not - error code */
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam