Drivers: bind/unbind

To bind a driver to a unit or unbind a driver from a unit, use the command resource/bind_unit_driver:



Name Description
resourceId resource ID
itemId unit ID
driverId driver ID (0 - unbinding)
time time (0 - current time)


{}	/* empty object if execution successful, if not - error code */


Code Value
1 invalid session
2 invalid service name
3 invalid result
4 invalid format or value of parameters
6 - driver with current ID doesn't exist
- error binding driver
7 access denied
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon   |   Copyright © 2002-2020 Gurtam