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>,
				       		"ssl":<text>,
				       		"login":<text>,
				       		"password":<text>,
				       		"debug":<text>
				       }}

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)
ssl secure connection (for NIS): 1 - yes, 0 - no
login login
password password
debug use debug mode: 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 */
	}
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam