Command disabled: backlink

Command parameters

To update command parameters, use the command unit/update_command_alias:

svc=unit/update_command_alias&params={"itemId":<long>,
				      "id":<long>,
				      "callMode":<text>,
				      "n":<text>,
				      "c":<text>,
				      "l":<text>,
				      "p":<text>}

Parameters

Name Description
itemId unit ID
id command ID
callMode action: create, update, delete
Parameters required only for create and update:
n command name
c type (see below)
l link type (see below)
p parameters

Command types:

  • block_engine - block engine;
  • unblock_engine - unblock engine;
  • custom_msg - custom message;
  • driver_msg - message to driver;
  • download_msgs - download messages;
  • query_pos - query position;
  • query_photo - query snapshot;
  • output_on - activate output;
  • output_off - deactivate output;
  • send_position - send coordinates;
  • set_report_interval - set data transfer interval;
  • upload_cfg - upload configuration;
  • upload_sw - upload firmware.

Link types:

  • empty string - auto;
  • tcp - TCP;
  • udp - UDP;
  • vrt - virtual;
  • gsm - SMS.

Response

On create and edit:

[
	<long>,		/* command ID */
	{
		"nm":<text>,	/* command name */
		"cn":<text>,	/* command type */
		"lt":<text>,	/* link type */
		"cp":<text>	/* parameters */
	}
]

On delete:

[
	<long>,		/* command ID */
	null
]
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam