cfw_error_id.h 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _CFW_ERROR_CODE_ID_H_
  13. #define _CFW_ERROR_CODE_ID_H_
  14. // SMS DM error code define begin.
  15. /******************************************************************************/
  16. // Sms dm uninitalize.
  17. #define ERR_SMS_DM_UNINIT 0x3300001
  18. /******************************************************************************/
  19. /******************************************************************************/
  20. // Parameter invalid.
  21. #define ERR_SMS_DM_INVALID_PARAMETER 0x3300002
  22. /******************************************************************************/
  23. /******************************************************************************/
  24. // Read medium failed.
  25. #define ERR_SMS_DM_MEDIA_READ_FAILED 0x3300003
  26. /******************************************************************************/
  27. /******************************************************************************/
  28. // Write medium failed.
  29. #define ERR_SMS_DM_MEDIA_WRITE_FAILED 0x3300004
  30. /******************************************************************************/
  31. /******************************************************************************/
  32. // The space is full.
  33. #define ERR_SMS_DM_SPACE_FULL 0x3300005
  34. /******************************************************************************/
  35. /******************************************************************************/
  36. // The index is invalid.
  37. #define ERR_SMS_DM_INVALID_INDEX 0x3300006
  38. /******************************************************************************/
  39. /******************************************************************************/
  40. // Alloc memory failed.
  41. #define ERR_SMS_DM_NOT_ENOUGH_MEMORY 0x3300007
  42. /******************************************************************************/
  43. /******************************************************************************/
  44. // The media space error.
  45. #define ERR_SMS_DM_NOT_ENOUGH_MEDIA_SPACE 0x3300008
  46. /******************************************************************************/
  47. /******************************************************************************/
  48. // The device not register.
  49. #define ERR_SMS_DM_NOT_REGISTER 0x3300009
  50. /******************************************************************************/
  51. /******************************************************************************/
  52. // DM unknow error.
  53. #define ERR_SMS_DM_ERROR 0x33000010
  54. /******************************************************************************/
  55. #endif // _H_