cdx_status.h

CDX API status values compatible with generated model code.

Source code: View source

Contents

Macros

Macro Description
CDX_STATUS_OK Operation succeeded.
CDX_STATUS_IN_PROGRESS Operation accepted but not yet complete.
CDX_STATUS_TIMEOUT Deadline or timeout expired.
CDX_STATUS_QUEUE_FULL Bounded queue or registry is full; new request was not accepted.
CDX_STATUS_NO_DATA No data available; also a non-faulting RX callback result.
CDX_STATUS_NOT_IMPLEMENTED Requested API feature is not implemented.
CDX_STATUS_MESSAGE_IGNORED RX message intentionally ignored without faulting the runtime.
CDX_STATUS_BAD_PARAM Invalid pointer, value, identifier, permission or range.
CDX_STATUS_BAD_LENGTH Invalid data length; not interchangeable with BAD_PARAM for all APIs.
CDX_STATUS_CASE_NOT_HANDLED Generated decoder has no matching case; faults a runtime RX callback.
CDX_STATUS_MULTIPLEX_IGNORED Unselected multiplexed signal ignored without faulting the runtime.
CDX_STATUS_IPC_OFFLINE Model IPC is not RUNNING or its session is unavailable.

Typedefs

Typedef Description
CDX_STATUS API result code; zero means success, nonzero values are call-specific.

Macros

CDX_STATUS_OK

1#define CDX_STATUS_OK 0u

Operation succeeded.

CDX_STATUS_IN_PROGRESS

1#define CDX_STATUS_IN_PROGRESS 1u

Operation accepted but not yet complete.

CDX_STATUS_TIMEOUT

1#define CDX_STATUS_TIMEOUT 2u

Deadline or timeout expired.

CDX_STATUS_QUEUE_FULL

1#define CDX_STATUS_QUEUE_FULL 3u

Bounded queue or registry is full; new request was not accepted.

CDX_STATUS_NO_DATA

1#define CDX_STATUS_NO_DATA 4u

No data available; also a non-faulting RX callback result.

CDX_STATUS_NOT_IMPLEMENTED

1#define CDX_STATUS_NOT_IMPLEMENTED 5u

Requested API feature is not implemented.

CDX_STATUS_MESSAGE_IGNORED

1#define CDX_STATUS_MESSAGE_IGNORED 6u

RX message intentionally ignored without faulting the runtime.

CDX_STATUS_BAD_PARAM

1#define CDX_STATUS_BAD_PARAM 7u

Invalid pointer, value, identifier, permission or range.

CDX_STATUS_BAD_LENGTH

1#define CDX_STATUS_BAD_LENGTH 8u

Invalid data length; not interchangeable with BAD_PARAM for all APIs.

CDX_STATUS_CASE_NOT_HANDLED

1#define CDX_STATUS_CASE_NOT_HANDLED 12u

Generated decoder has no matching case; faults a runtime RX callback.

CDX_STATUS_MULTIPLEX_IGNORED

1#define CDX_STATUS_MULTIPLEX_IGNORED 13u

Unselected multiplexed signal ignored without faulting the runtime.

CDX_STATUS_IPC_OFFLINE

1#define CDX_STATUS_IPC_OFFLINE 41u

Model IPC is not RUNNING or its session is unavailable.

Typedefs

CDX_STATUS

API result code; zero means success, nonzero values are call-specific.

1typedef uint16_t CDX_STATUS