Intel
®
IXP400 Digital Signal Processing (DSP) Software Version 2.5
Constant Data
API Reference Manual 47
10.0 Constant Data
This section lists up the definitions for constant data such as error codes and event codes.
10.1 Error Codes
Errors are reported via XMSG_ERROR message with an error code and two error data. The common
error codes are defined as:
The resource-specific error codes are defined as:
#define XERR_SYSTEM 0x0001 /* system error */
#define XERR_HSSIF 0x0002 /* HSS interface error */
#define XERR_MEMORY 0x0003 /* memory error # */
#define XERR_INVALID_RES_ID 0x0011 /* invalid resource id */
#define XERR_INVALID_CHAN_ID 0x0012 /* invalid channel id */
#define XERR_INVALID_PARM_ID 0x0013 /* invalid parameter id */
#define XERR_INVALID_STREAM_ID 0x0014 /* invalid stream id */
#define XERR_PARM_READONLY 0x0015 /* real only parameter */
#define XERR_PARM_SET_FAIL 0x0016 /* cannot set parameter */
#define XERR_PARM_GET_FAIL 0x0017 /* cannot get parameter */
#define XERR_UNEXPECTED_MSG 0x0018 /* unexpected message */
#define XERR_UNSUPPORTED_MSG 0x0019 /* unsupported message */
#define XERR_ALGORITHM 0x0041 /* algorithm related error # */
#define XERR_OTHERS 0x00ff /* other errors */
#define XERR_INVALID_CODE_TYPE 0x401 /* invalid codec type */
#define XERR_INVALID_FPP 0x402 /* invalid # frms per pkt */
#define XERR_TG_INVALID_TONE_ID 0x403 /* invalid tone ID */
#define XERR_TG_INVALID_TID_NUM 0x404 /* too many tone IDs */
#define XERR_TG_INVALID_DATA_NUM 0x405 /* too many FSK data */
#define XERR_TD_INVALID_DIGIT_NUM 0x406 /* too many digits */
#define XERR_RESOURCE_BUSY 0x407 /* resource is busy */
#define XERR_RESOURCE_IDLE 0x408 / * resource is idle */
#define XERR_MA_DEEP_RECURSIVE 0x409 /* deep recursive msg decoder*/