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 0uOperation succeeded.
CDX_STATUS_IN_PROGRESS
1#define CDX_STATUS_IN_PROGRESS 1uOperation accepted but not yet complete.
CDX_STATUS_TIMEOUT
1#define CDX_STATUS_TIMEOUT 2uDeadline or timeout expired.
CDX_STATUS_QUEUE_FULL
1#define CDX_STATUS_QUEUE_FULL 3uBounded queue or registry is full; new request was not accepted.
CDX_STATUS_NO_DATA
1#define CDX_STATUS_NO_DATA 4uNo data available; also a non-faulting RX callback result.
CDX_STATUS_NOT_IMPLEMENTED
1#define CDX_STATUS_NOT_IMPLEMENTED 5uRequested API feature is not implemented.
CDX_STATUS_MESSAGE_IGNORED
1#define CDX_STATUS_MESSAGE_IGNORED 6uRX message intentionally ignored without faulting the runtime.
CDX_STATUS_BAD_PARAM
1#define CDX_STATUS_BAD_PARAM 7uInvalid pointer, value, identifier, permission or range.
CDX_STATUS_BAD_LENGTH
1#define CDX_STATUS_BAD_LENGTH 8uInvalid data length; not interchangeable with BAD_PARAM for all APIs.
CDX_STATUS_CASE_NOT_HANDLED
1#define CDX_STATUS_CASE_NOT_HANDLED 12uGenerated decoder has no matching case; faults a runtime RX callback.
CDX_STATUS_MULTIPLEX_IGNORED
1#define CDX_STATUS_MULTIPLEX_IGNORED 13uUnselected multiplexed signal ignored without faulting the runtime.
CDX_STATUS_IPC_OFFLINE
1#define CDX_STATUS_IPC_OFFLINE 41uModel 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