Port.N.Mode

Current port mode.

Syntax: see Call Structure

{

"method": "cbrx_connection_get",

"params": [

connection-handle

"Port.N.Mode"

]

}

connection-handle is the Connection Handles as an integer.

Returns:

{

"result": "mode"

}

For Standard USB hubs, the mode can be any of:

mode character Description
s Sync mode
c Charge mode
b Biased mode
o Off

For Type-C hubs, the mode can be:

mode character Description
c On
o Off
Example
Copy
{
    "jsonrpc": "2.0",
    "id": 0,
    "result": "s"
}