Mode
Set same mode to all USB Ports. Please see product user manuals for details on the modes supported by each hub.
Syntax: see Call Structure
{ "method": "cbrx_connection_set", "params": [ connection-handle, "mode", "Value" ] } |
Parameter | Description |
---|---|
connection-handle | The Connection Handles as an integer |
Value | The value you wish to set for the key |
Value | Description |
---|---|
c | Charge mode |
s | Sync and Charge mode |
b | biased mode |
o | off |
Returns:
{ "result": true } |
Errors
If there is an error in the API method then a JSON-RPC Error Object will be returned.
Example
Copy
{
"id": 0,
"jsonrpc": "2.0",
"method": "cbrx_connection_set",
"params": [
7654,
"Mode",
"s"
]
}