Command disabled: backlink

Update configuration

To update retranslator configuration, use the command retranslator/update_config:

svc=retranslator/update_config&params={"itemId":<long>,
				       "config":{
				       		"protocol":<text>,
				       		"server":<text>,
				       		"port":<ushort>,
				       		"v6type":<text>,
				       		"auth":<text>,
						"attach_sensors":<bool>,
				       		"ssl":<text>,
				       		"login":<text>,
				       		"password":<text>,
				       		"notauth":<int>
				       }}

Parameters

Name Description
itemId retranslator ID
config configuration
protocol protocol name (see below)
server server for retranslation
port port (for all except NIS)
v6type use protocol v.6 (only for Granit Navigator):
1 - yes, 0 - no
auth authorization (only for NIS and Wialon IPS)
attach_sensors retranslate calculated sensor values
(for для Wialon IPS & Wialon Retranslator)
1 - yes
optional
ssl secure connection (for NIS):
1 - yes, 0 - no
login login
password password
notauth disable autorization (only for EGTS):
0 - no, 1 - yes

Protocols:

  • wialon – Wialon Retranslator;
  • wialon_ips – Wialon IPS;
  • nis – Nis;
  • granit3 – Granit Navigator;
  • skaut – Skaut;
  • cyber_glx – Cyber GLX;
  • vt300 – VT300;
  • egts – EGTS;
  • soap – SOAP.

:!: Attention!
The set of parameters in the object config depends on protocol type.

Response

{
	"rtrc":{
		"port":<ushort>,	/* port (for all except NIS) */
		"protocol":<text>,	/* protocol */
		"server":<text>,	/* server for retranslation */
		"v6type":<text>,	/* protocol v.6 (only for Granit Navigator): 1 - yes, 0 - no */
		"auth":<text>,		/* authorization (only for NIS and Wialon IPS) */
		"ssl":<text>,		/* secure connection (for NIS): 1 - yes,  0 - no */
		"login":<text>,		/* login */
		"password":<text>,	/* password */
		"notauth":<int>		/* disable autorization (only for EGTS): 0 - no, 1 - yes */
	}
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam