Error Codes Description Table#
Error code | String associated |
---|---|
RTOS_ERR_NONE | No error. |
RTOS_ERR_FAIL | Generic failure for operation. |
RTOS_ERR_NOT_READY | Module is not ready for requested operation. |
RTOS_ERR_ASSERT_DBG_FAIL | Debug assertion failed. |
RTOS_ERR_ASSERT_CRITICAL_FAIL | Critical assertion failed. |
RTOS_ERR_ASSERT_ERR_PTR_NULL | Pointer to error variable to return error code is null. |
RTOS_ERR_NOT_AVAIL | Feature not avail (due to cfg val(s). |
RTOS_ERR_NOT_SUPPORTED | Feature not supported. |
RTOS_ERR_INVALID_ARG | Invalid argument or consequence of invalid argument. |
RTOS_ERR_INVALID_CFG | Invalid configuration provided. |
RTOS_ERR_NULL_PTR | Invalid null pointer received as argument. |
RTOS_ERR_INVALID_HANDLE | Invalid handle passed to function. |
RTOS_ERR_INVALID_TYPE | Invalid type for operation. |
RTOS_ERR_INVALID_CREDENTIALS | Credentials used are invalid. |
RTOS_ERR_NOT_FOUND | Requested item could not be found. |
RTOS_ERR_ALLOC | Generic allocation error. |
RTOS_ERR_NO_MORE_RSRC | Resource not available to perform the operation. |
RTOS_ERR_INIT | Initialization failed. |
RTOS_ERR_NOT_INIT | Module has not been initialized. |
RTOS_ERR_ALREADY_INIT | Module has already been initialized. |
RTOS_ERR_ALREADY_EXISTS | Item already exists. |
RTOS_ERR_SEG_OVF | Mem seg would overflow. |
RTOS_ERR_POOL_FULL | Mem pool full; i.e. all mem blks avail in mem pool. |
RTOS_ERR_POOL_EMPTY | Mem pool empty; i.e. NO mem blks avail in mem pool. |
RTOS_ERR_POOL_UNLIMITED | Mem pool is unlimited, cannot obtain rem nbr of blks. |
RTOS_ERR_BLK_ALLOC_CALLBACK | Block alloc callback failed. |
RTOS_ERR_OWNERSHIP | Ownership error. |
RTOS_ERR_PERMISSION | Operation not allowed. |
RTOS_ERR_WOULD_BLOCK | Non-blocking operation would block. |
RTOS_ERR_WOULD_OVF | Item would overflow. |
RTOS_ERR_INVALID_STATE | Cannot execute requested operation while in current state. |
RTOS_ERR_ISR | Illegal call from ISR. |
RTOS_ERR_ABORT | Operation aborted. |
RTOS_ERR_TIMEOUT | Operation timed out. |
RTOS_ERR_IS_OWNER | Already/still owning resource. |
RTOS_ERR_NONE_WAITING | No task waiting/pending for that action/event. |
RTOS_ERR_IO | Generic I/O err. |
RTOS_ERR_IO_FATAL | Generic I/O fatal err. |
RTOS_ERR_TX | Generic TX err. |
RTOS_ERR_RX | Generic RX err. |
RTOS_ERR_RX_OVERRUN | Overrun error, in RX. |
RTOS_ERR_OS_SCHED_LOCKED | Operation cannot be done when the scheduler is locked. |
RTOS_ERR_OS_TASK_WAITING | Operation not allowed when tasks are waiting/pending on OS object. |
RTOS_ERR_OS_TASK_SUSPENDED | Task is still suspended. |
RTOS_ERR_OS_ILLEGAL_RUN_TIME | Operation not allowed after call to OSStart. |
RTOS_ERR_OS_OBJ_DEL | Object has been deleted during pend. |
RTOS_ERR_OS | Generic OS err. |
RTOS_ERR_SHELL_CMD_EXEC | Error when shell executed command. |
RTOS_ERR_CMD_EMPTY | Shell command is empty. |
RTOS_ERR_TIME_INVALID | Time is invalid. |
RTOS_ERR_SIZE_INVALID | Size is invalid. |
RTOS_ERR_NAME_INVALID | Name contains illegal characters. |
RTOS_ERR_ECC_CORR | Correctable ECC error. |
RTOS_ERR_ECC_CRITICAL_CORR | Critical correctable ECC error. |
RTOS_ERR_ECC_UNCORR | Uncorrectable ECC error. |
RTOS_ERR_ENTRY_PARENT_NOT_DIR | Entry parent must be a directory. |
RTOS_ERR_ENTRY_ROOT_DIR | Operation not allowed on root directory. |
RTOS_ERR_ENTRY_MAX_DEPTH_EXCEEDED | Maximum directory tree depth exceeded. |
RTOS_ERR_ENTRY_OPENED | Operation not allowed on opened entry. |
RTOS_ERR_ENTRY_CLOSED | Operation not allowed on closed entry. |
RTOS_ERR_FILE_ACCESS_MODE_INVALID | File access mode is invalid. |
RTOS_ERR_FILE_ERR_STATE | Operation cannot be performed on a file in error state. |
RTOS_ERR_DIR_FULL | Directory is full. |
RTOS_ERR_DIR_NOT_EMPTY | Directory contains files or sub-directories. |
RTOS_ERR_WRK_DIR_CLOSED | Working directory is closed. |
RTOS_ERR_VOL_FMT_INVALID | Volume format is invalid. |
RTOS_ERR_VOL_CORRUPTED | Volume metadata is corrupted. |
RTOS_ERR_VOL_OPENED | Operation not allowed on opened volume. |
RTOS_ERR_VOL_CLOSED | Operation not allowed on closed volume. |
RTOS_ERR_VOL_FULL | Volume is full. |
RTOS_ERR_PARTITION_INVALID | Partition is invalid. |
RTOS_ERR_PARTITION_MAX_EXCEEDED | Maximum partition count exceeded. |
RTOS_ERR_BLK_DEV_FMT_INCOMPATIBLE | Block device low-level format is incompatible with user configuration. |
RTOS_ERR_BLK_DEV_FMT_INVALID | Block device low-level format is invalid. |
RTOS_ERR_BLK_DEV_CORRUPTED | Block device metadata is corrupted. |
RTOS_ERR_BLK_DEV_OPENED | Block device is opened. |
RTOS_ERR_BLK_DEV_CLOSED | Block device is closed. |
RTOS_ERR_DEV_ALLOC | Device allocation failed. |
RTOS_ERR_CONFIG_ALLOC | Configuration allocation failed. |
RTOS_ERR_IF_ALLOC | Interface allocation failed. |
RTOS_ERR_IF_ALT_ALLOC | Interface allocation failed. |
RTOS_ERR_IF_GRP_ALLOC | Interface group allocation failed. |
RTOS_ERR_FNCT_ALLOC | No more class function in this config. |
RTOS_ERR_EP_ALLOC | USB core unable to allocate endpoint. |
RTOS_ERR_EP_NONE_AVAIL | Physical endpoint/pipe NOT available. |
RTOS_ERR_URB_ALLOC | USB core unable to allocate URB. |
RTOS_ERR_DRV_EP_ALLOC | USB driver/controller unable to allocate endpoint. |
RTOS_ERR_DRV_URB_ALLOC | USB driver/controller unable to allocate URB. |
RTOS_ERR_CLASS_INSTANCE_ALLOC | Unable to allocate class instance. |
RTOS_ERR_SUBCLASS_INSTANCE_ALLOC | Unable to allocate subclass instance. |
RTOS_ERR_AOAP_FNCT_ALLOC | Unable to allocate AOAP class function instance. |
RTOS_ERR_CDC_FNCT_ALLOC | Unable to allocate CDC class function instance. |
RTOS_ERR_CDC_ACM_FNCT_ALLOC | Unable to allocate CDC-ACM subclass function instance. |
RTOS_ERR_USB2SER_FNCT_ALLOC | Unable to allocate USB2Ser class function instance. |
RTOS_ERR_HID_FNCT_ALLOC | Unable to allocate HID class function instance. |
RTOS_ERR_MSC_FNCT_ALLOC | Unable to allocate MSC class function instance. |
RTOS_ERR_INVALID_DEV_STATE | Invalid device state. |
RTOS_ERR_INVALID_CLASS_STATE | Invalid class state. |
RTOS_ERR_INVALID_EP_STATE | Invalid endpoint state. |
RTOS_ERR_DEV_HANDLE_HAS_CHANGED | Handle has changed since providing it to caller. |
RTOS_ERR_INVALID_DESC | Descriptor content is invalid. |
RTOS_ERR_OVERFLOW_DESC | Descriptor's size is bigger than buffer size. |
RTOS_ERR_INVALID_DEV_SPD | Invalid device speed. |
RTOS_ERR_DEV_CONN_DECLINED | Connection for device was declined by app. |
RTOS_ERR_DEV_SUSPEND | Operation failed because device is suspended. |
RTOS_ERR_EP_INVALID | Invalid endpoint (address, type or direction). |
RTOS_ERR_EP_BW_NOT_AVAIL | Not enough bandwidth available to open endpoint. |
RTOS_ERR_EP_QUEUING | Unable to queue transfer on endpoint. |
RTOS_ERR_EP_STALL | Endpoint was/is stalled. |
RTOS_ERR_CLASS_DRV_NOT_FOUND | No class driver found. |
RTOS_ERR_SUBCLASS_DRV_NOT_FOUND | No subclass driver found. |
RTOS_ERR_USB2SER_FLOW_CTRL_EN | Operation not allowed when flow control enabled. |
RTOS_ERR_NET_INVALID_ADDR_SRC | Address source not found to send data. |
RTOS_ERR_NET_IF_LINK_DOWN | The interface link is down. |
RTOS_ERR_NET_RETRY_MAX | The maximum number of retry was reached. |
RTOS_ERR_NET_ADDR_UNRESOLVED | The stack was unable to resolved the IP address. |
RTOS_ERR_NET_ICMP_ECHO_REPLY_DATA_CMP | Data received in echo reply is not the same as the data sent. |
RTOS_ERR_NET_NEXT_HOP | The stack was unable to found a valid next hop to send the packet to. |
RTOS_ERR_NET_INVALID_CONN | The socket connection is invalid. |
RTOS_ERR_NET_CONN_CLOSE_RX | The stack received a connection closed from other half. |
RTOS_ERR_NET_CONN_CLOSED_FAULT | The connection was closed abruptly by other half. |
RTOS_ERR_NET_OP_IN_PROGRESS | The current operation is still in progress. |
RTOS_ERR_NET_SOCK_CLOSED | The operation cannot be done because the socket is closed. |
RTOS_ERR_NET_STR_ADDR_INVALID | The string address is in an invalid format. |
RTOS_ERR_NET_PHY_TIMEOUT_AUTO_NEG | The PHY auto-negotiation timed out. |
RTOS_ERR_MQTT_MSG_FAIL | Message failed to complete correctly. |
RTOS_ERR_MQTTc_QoS_LEVEL_NOT_GRANTED | Broker failed to grant QoS level requested. |