Bitset defining bit flags that indicate the device states CAP devices can be in. The state is returned by the device's Device Manager on request. Any combination of the flags may be returned, unless specified otherwise for the specific flag. The value 0x0000 indicates the device is fully operational.
Properties
The device is operational. This state 'logically follows' from the fact that the 'Initializing' and 'Updating' flags are not set (since this is not a bit flag itself).
The device is disabled.
The device is in an error state.
OcaBit Initializing
The device is initializing. This bit flag cannot be combined with the 'Updating' flag.
The device is upgrading firmware. This flag cannot be combined with the 'Initializing' flag.
OCP.1 Encoding
Field | Basic type | Byte Length |
Operational.Value | bit | variable |
Disabled.Value | bit | variable |
Error.Value | bit | variable |
Initializing.Value | bit | variable |
Updating.Value | bit | variable |
unused.Value[0] | bit | variable |
unused.Value[1] | bit | variable |
unused.Value[2] | bit | variable |
unused.Value[3] | bit | variable |
unused.Value[4] | bit | variable |
unused.Value[5] | bit | variable |
unused.Value[6] | bit | variable |
unused.Value[7] | bit | variable |
unused.Value[8] | bit | variable |
unused.Value[9] | bit | variable |
unused.Value[10] | bit | variable |