To get the list of available hardware types, use the command core/get_hw_types:
svc=core/get_hw_types¶ms={"filterType":<text>, "filterValue":[<text>|<uint>], "includeType":<bool>, "ignoreRename":<bool>}
Parameters
All params are optional.
Name | Description |
---|---|
filterType | filter type, may be: –name, –id, –type |
filterValue | filter value array (delimiter is comma), for different ‘filterType’ values may be as follows:: name – full device name(s), id – device id(s), type – values: auto, tracker, mobile, soft |
includeType | flag, whether to show device type in response or not |
ignoreRename | flag, whether to ignore device type rename or not |
Response
[ /* hardware types */ { "id":<uint>, /* ID */ "name":<text> /* name */ }, ... ]