NCD API Error Values

C Specification

#include <revolution/ncd.h>
#define     NCD_RESULT_SUCCESS              0       /* success */
#define     NCD_RESULT_FATAL_ERROR          (-1)    /* Does not normally occur. Occurs when involved in a memory loss bug, etc. */
#define     NCD_RESULT_FAILURE              (-2)    /* Failure of resource manager operation. */
#define     NCD_RESULT_ILLEGAL_PARAM        (-3)    /* Invalid parameter. */
#define     NCD_RESULT_EXCLUSIVE            (-4)    /* Being exclusively controlled. */
#define     NCD_RESULT_ILLEGAL_STATUS       (-5)    /* API has not been called. */
#define     NCD_RESULT_SFFS_ERROR           (-6)    /* Failure of NAND flash operation .*/
#define     NCD_RESULT_UNDECIDED            (-7)    /*  Network I/F has not been determined. */
#define     NCD_RESULT_INPROGRESS           (-8)    /* The firmware is not yet prepared. */

Description

Indicates the types of errors that can occur when running NCD APIs.

See Also

Revision History

2006/10/26 Added the error value NCD_RESULT_INPROGRESS.
2006/08/09 Initial version.


CONFIDENTIAL