Port.N.TimeCharging_sec
Time in seconds since this USB port started charging an attached device. 0 will be returned if the USB port has not started charging an attached device.
Syntax: see Call Structure
{ "method": "cbrx_connection_get", "params": [ connection-handle, "Port.N.TimeCharging_sec" ] } |
connection-handle is the Connection Handles as an integer.
Returns:
{ "result":charging-time } |
charging-time is the time passed in seconds that a port has been charging a device.
Example
Copy
{
"jsonrpc": "2.0",
"id": 0,
"result": 0
}