get_hw_types
The get_hw_types function is used to get the list of available hardware types.
svc=core/get_hw_types¶ms={"filterType":"<text>",
"filterValue":["<text>"|<uint>],
"includeType":<bool>,
"ignoreRename":<bool>}
Parameters
All parameters are optional.
Name | Description |
---|---|
filterType | Filter type:
|
filterValue | The array of filter values (comma-delimited). The values for different filterType can be as follows:
|
includeType | The flag, which is responsible for showing the device type in the returned result. The default value is false. |
ignoreRename | The flag, which is responsible for ignoring the renaming of the device type. The default value is false. |
Returned result
[ /* hardware types */
{
"id":<uint>, /* ID */
"uid2":<uint>, /* second ID */
"name":"<text>", /* name */
"hw_category":"<text>", /* hardware type */
"hw_features":"<text>", /* hardware features */
"tp":"<text>", /* TCP port */
"up":"<text>" /* UDP port */
},
...
]