Attached
A bit-field with one bit set for each port with a device attached, port 1 in bit 0, port 2 in bit 1 and so on.
Syntax: see Call Structure
{ "method": "cbrx_connection_get", "params": [ connection-handle, "Attached" ] } |
connection-handle is the Connection Handles as an integer.
Returns:
{ "result": attached-bit } |
attached-bit is an integer value.
Example, of three devices connected to ports 1,2,3
Copy
{
"jsonrpc": "2.0",
"id": 0,
"result": 7
}