Command disabled: backlink

Table of Contents

Device type

To update device (hardware) type of a unit, use the command unit/update_hw_type:

svc=unit/update_hw_type&params={"itemId":<long>,
				"hwType":<uint>}

Parameters

Name Description
itemId unit ID
hwType new device type

You can get all available hardware types using the command get_hw_types.

Resposne

{
	"hw":<long>	/* hardware type */
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2024 Gurtam