Port.N.Flags

Get a list of all flags on a specific port

Syntax: see Call Structure

{

"method": "cbrx_connection_get",

"params": [

connection-handle,

"Port.N.Flags"

]

}

connection-handle is the Connection Handles as an integer.

Returns:

{

"result": "flag"

}

List of case-sensitive flag characters, separated by spaces. O, S, B, I, P, C, F are mutually

exclusive. A, D are mutually exclusive.

Flag Description
O Port is in OFF mode
S Port is in SYNC mode
B Port is in Biased mode
I Port is in charge mode, and is IDLE
P Port is in charge mode, and is PROFILING
C Port is in charge mode, and is CHARGING
F Port is in charge mode, and is has FINISHED charging
A Device is ATTACHED to this port
D No device is attached to this port. Port is DETACHED
T Device has been stolen from port: THEFT
E ERRORs are present. See health command
R System has REBOOTED. See crf command
r Vbus is being reset during mode change
Example
Copy
{
    "jsonrpc": "2.0",
    "id": 0,
    "result": "R D S"
}