Index

Data Type OcaDeviceState

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

OcaBit Operational

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).

OcaBit Disabled

The device is disabled.

OcaBit Error

The device is in an error state.

OcaBit Initializing

The device is initializing. This bit flag cannot be combined with the 'Updating' flag.

OcaBit Updating

The device is upgrading firmware. This flag cannot be combined with the 'Initializing' flag.

OcaBit[11] unused

OCP.1 Encoding

FieldBasic typeByte Length
Operational.Valuebitvariable
Disabled.Valuebitvariable
Error.Valuebitvariable
Initializing.Valuebitvariable
Updating.Valuebitvariable
unused.Value[0]bitvariable
unused.Value[1]bitvariable
unused.Value[2]bitvariable
unused.Value[3]bitvariable
unused.Value[4]bitvariable
unused.Value[5]bitvariable
unused.Value[6]bitvariable
unused.Value[7]bitvariable
unused.Value[8]bitvariable
unused.Value[9]bitvariable
unused.Value[10]bitvariable