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>}
All params are optional.
Name | Description |
---|---|
filterType | filter type, may be: -name, -id, -type, -feature |
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 , feature – values: wifi_pos |
includeType | flag, whether to show device type in response or not |
ignoreRename | flag, whether to ignore device type rename or not |
[ /* hardware types */ { "id":<uint>, /* ID */ "uid2":<uint>, /* second ID */ "name":<text>, /* name */ "hw_category":<text>, /* hardware type */ "tp":<text>, /* TCP port */ "up":<text> /* UDP port */ }, ... ]