SW-Appendix-A – Error messages

The following extended Error Messages are defined (see iolink.h in application source code):

   IOLINK_SMI_ERRORTYPE_NONE = 0x0000,

   /* Table C.1 ErrorTypes */
   IOLINK_SMI_ERRORTYPE_APP_DEV               = 0x8000,
   IOLINK_SMI_ERRORTYPE_IDX_NOTAVAIL          = 0x8011,
   IOLINK_SMI_ERRORTYPE_SUBIDX_NOTAVAIL       = 0x8012,
   IOLINK_SMI_ERRORTYPE_SERV_NOTAVAIL         = 0x8020,
   IOLINK_SMI_ERRORTYPE_SERV_NOTAVAIL_LOCCTRL = 0x8021,
   IOLINK_SMI_ERRORTYPE_SERV_NOTAVAIL_DEVCTRL = 0x8022,
   IOLINK_SMI_ERRORTYPE_IDX_NOT_ACCESSIBLE    = 0x8023,
   IOLINK_SMI_ERRORTYPE_PAR_VALOUTOFRNG       = 0x8030,
   IOLINK_SMI_ERRORTYPE_PAR_VALGTLIM          = 0x8031,
   IOLINK_SMI_ERRORTYPE_PAR_VALLTLIM          = 0x8032,
   IOLINK_SMI_ERRORTYPE_VAL_LENOVRRUN         = 0x8033, /* Also in C.2 */
   IOLINK_SMI_ERRORTYPE_VAL_LENUNDRUN         = 0x8034,
   IOLINK_SMI_ERRORTYPE_FUNC_NOTAVAIL         = 0x8035,
   IOLINK_SMI_ERRORTYPE_FUNC_UNAVAILTEMP      = 0x8036,
   IOLINK_SMI_ERRORTYPE_PAR_SETINVALID        = 0x8040,
   IOLINK_SMI_ERRORTYPE_PAR_SETINCONSIST      = 0x8041,
   IOLINK_SMI_ERRORTYPE_APP_DEVNOTRDY         = 0x8082,
   IOLINK_SMI_ERRORTYPE_UNSPECIFIC            = 0x8100,

   /* Table C.2 Derivced ErrorTypes */
   IOLINK_SMI_ERRORTYPE_COM_ERR           = 0x1000,
   IOLINK_SMI_ERRORTYPE_I_SERVICE_TIMEOUT = 0x1100,
   IOLINK_SMI_ERRORTYPE_M_ISDU_CHECKSUM   = 0x5600,
   IOLINK_SMI_ERRORTYPE_M_ISDU_ILLEGAL    = 0x5700,

   /* Table C.3 SMI related ErrorTypes */
   IOLINK_SMI_ERRORTYPE_ARGBLOCK_NOT_SUPPORTED   = 0x4001,
   IOLINK_SMI_ERRORTYPE_ARGBLOCK_INCONSISTENT    = 0x4002,
   IOLINK_SMI_ERRORTYPE_DEV_NOT_ACCESSIBLE       = 0x4003,
   IOLINK_SMI_ERRORTYPE_SERVICE_NOT_SUPPORTED    = 0x4004,
   IOLINK_SMI_ERRORTYPE_DEV_NOT_IN_OPERATE       = 0x4005,
   IOLINK_SMI_ERRORTYPE_MEMORY_OVERRUN           = 0x4006,
   IOLINK_SMI_ERRORTYPE_PORT_NUM_INVALID         = 0x4011,
   IOLINK_SMI_ERRORTYPE_ARGBLOCK_LENGTH_INVALID  = 0x4034,
   IOLINK_SMI_ERRORTYPE_SERVICE_TEMP_UNAVAILABLE = 0x4036,