Operating Datatypes
OcaSecurityType
OcaLockState
OcaStatus
-
enum OcaStatus : uint8_t
Standard status codes returned from method calls.
-
enumerator OK = 0
Method call was successful.
-
enumerator ProtocolVersionError = 1
Controller sent a Control Protocol PDU whose protocol version the Device cannot handle.
-
enumerator DeviceError = 2
Command execution failed due to an internal Device error.
-
enumerator Locked = 3
Command attempted to access an object with a lock status too restrictive for the requested operation.
-
enumerator BadFormat = 4
One or more method parameters in a Command was in an invalid format.
-
enumerator BadONo = 5
Object number in a Command referenced a nonexistent object.
-
enumerator ParameterError = 6
One or more method parameters given in a Command was unacceptable in the current context, or a required parameter was missing.
-
enumerator ParameterOutOfRange = 7
One or more parameter values given in a Command was too large or too small for the current context.
-
enumerator NotImplemented = 8
Method ID in Command referenced a method the Device does not implement.
-
enumerator InvalidRequest = 9
Command requested an action that is invalid in the current context.
-
enumerator ProcessingFailed = 10
Command execution failed, but not due to an internal Device error.
-
enumerator BadMethod = 11
Method ID in a Command referenced a nonexistent method.
-
enumerator PartiallySucceeded = 12
Command execution partly succeeded. Example: in a method that operates on a specified list of items, some items were processed successfully, some not.
-
enumerator Timeout = 13
Device failed to process a Command within the given timeout time. Valid only for methods with timeout parameters.
-
enumerator BufferOverflow = 14
Device did not have enough available memory to store an incoming PDU.
-
enumerator PermissionDenied = 15
Command requested an action for which the Controller had insufficient permission.
-
enumerator OutOfMemory = 16
Device did not have enough available memory to process the Command.
-
enumerator Busy = 17
Command could not be executed because required resources are busy.
-
enumerator OK = 0