To update device (hardware) type of a unit, use the command unit/update_hw_type:
svc=unit/update_hw_type¶ms={"itemId":<long>, "hwType":<uint>}
| Name | Description |
|---|---|
| itemId | unit ID |
| hwType | new device type |
You can get all available hardware types using the command get_hw_types.
{ "hw":<long> /* hardware type */ }
|