HostPresent
The hub monitors the host USB socket for an attached host computer.
Syntax: see Call Structure
{ "method": "cbrx_connection_get", "params": [ connection-handle, "HostPresent" ] } |
connection-handle is the Connection Handles as an integer.
Returns:
{ "result":host } |
host | description |
---|---|
true | Host is detected |
false | No host is detected |
Example
Copy
{
"jsonrpc": "2.0",
"id": 0,
"result": true
}