OPL Error Code
Header File -
quick_dev/common/error/opl_err.h
Enumeration Table -
typedef enum E_OplErr
{
OPL_OK = 0,
OPL_OK_WITH_NO_ACTION,
OPL_ERR,
OPL_ERR_ALLOC_MEMORY_FAIL,
OPL_ERR_PARAM_INVALID,
OPL_ERR_CASE_INVALID,
OPL_ERR_RTOS_TASK_NOT_INIT,
OPL_ERR_RTOS_TASK_REINIT,
OPL_ERR_RTOS_QMSG_NOT_INIT,
OPL_ERR_RTOS_QMSG_REINIT,
OPL_ERR_RTOS_SEND_QMSG_FAIL,
OPL_ERR_RTOS_PROC_QMSG_FAIL,
OPL_ERR_RTOS_SEM_NOT_INIT,
OPL_ERR_RTOS_SEM_REINIT,
OPL_ERR_RTOS_EVT_NOT_FOUND,
OPL_ERR_FSM_NOT_INIT,
OPL_ERR_FSM_REINIT,
OPL_ERR_FSM_ST_INVALID,
OPL_ERR_FSM_EVT_INVALID,
OPL_ERR_IND_CB_REG_INVALID,
OPL_ERR_IND_CB_NOT_RELATED,
OPL_ERR_USLCTED_CB_REG_INVALID,
OPL_ERR_WIFI_EVTLOOP_REINIT,
OPL_ERR_WIFI_SCAN_CMD_FAIL,
OPL_ERR_WIFI_SCAN_CMD_TIMEOUT,
OPL_ERR_WIFI_SCAN_FAIL,
OPL_ERR_WIFI_SCAN_NO_AP,
OPL_ERR_WIFI_AC_CMD_FAIL,
OPL_ERR_WIFI_AC_LIST_EMPTY,
OPL_ERR_WIFI_CONNECT_CMD_FAIL,
OPL_ERR_WIFI_CONNECT_CMD_TIMEOUT,
OPL_ERR_WIFI_CONNECT_FAIL,
OPL_ERR_WIFI_DISCONNECT_CMD_FAIL,
OPL_ERR_WIFI_DISCONNECT_CMD_TIMEOUT,
OPL_ERR_WIFI_DISCONNECT_FAIL,
OPL_ERR_BLE_TASK_REINIT,
OPL_ERR_BLE_SVC_ASSIGN_INVALID,
OPL_ERR_BLE_ENT_ADV_CMD_FAIL,
OPL_ERR_BLE_ENT_ADV_FAIL,
OPL_ERR_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