Skip to content

Error Code List

Enumeration ValueHexadecimalDecimalDescription
OPRT_OK-0x0000-0Successful execution.
OPRT_COM_ERROR-0x0001-1General error.
OPRT_INVALID_PARM-0x0002-2Invalid parameter.
OPRT_MALLOC_FAILED-0x0003-3Memory allocation failed.
OPRT_NOT_SUPPORTED-0x0004-4Not supported.
OPRT_NOT_FOUND-0x0005-5Object not found.
OPRT_INDEX_OUT_OF_BOUND-0x0006-6Index out of bounds.
OPRT_EXCEED_UPPER_LIMIT-0x0007-7Exceed upper limit.
OPRT_NOT_EXIST-0x0008-8Not exist.
OPRT_QTH_CONFIG_READ_FAILED-0x1000-4096Reading failed.
OPRT_QTH_CONFIG_WRITE_FAILED-0x1001-4097Writing failed.
OPRT_QTH_CONFIG_SET_DEVINFO_FAILED-0x1002-4098Failed to set device information.
OPRT_QTH_CONFIG_APPVER_STRDUMP_FAILED-0x1003-4099Failed to set App version.
OPRT_QTH_CONFIG_DK_FORMT_FAILED-0x1004-4100Failed to set DeviceKey format.
OPRT_QTH_CONFIG_MAC_GET_FAILED-0x1005-4101Failed to get device MAC address.
OPRT_QTH_DEV_GET_CONFIG_FAILED-0x1100-4352Failed to get the configuration.
OPRT_QTH_DEV_NOT_AUTH-0x1101-4353Device not authenticated.
OPRT_QTH_DEV_CONN_FAILED-0x1102-4354Device connection failed.
OPRT_QTH_DEV_RESET_FAILED-0x1103-4355Device reset failed.
OPRT_QTH_DEV_REMOVE_FAILED-0x1104-4356Failed to delete the device.
OPRT_QTH_DEV_ALREADY_CONNECTED-0x1105-4357Device connected.
OPRT_QTH_DEV_RESET_ABNORMAL-0x1106-4358Device reset error (New DeviceSecret has been received for the device with unique-DeviceSecret-per-device authentication).
OPRT_QTH_CMD_PKG_FORMAT_INVALID-0x1200-4608Data packet format error.
OPRT_QTH_CMD_PKG_GENERATE_FAILED-0x1201-4609Failed to generate the data packet.
OPRT_QTH_CMD_UNSUPPORTED-0x1202-4610Unsupported data command.
OPRT_QTH_CMD_PKG_SEND_FAILED-0x1203-4611Failed to send the data packet.
OPRT_QTH_WAN_PKG_FORMAT_INVALID-0x1300-4864WAN data packet format error.
OPRT_QTH_WAN_PKG_REPEATED-0x1301-4865Duplicate WAN data packet.
OPRT_QTH_WAN_GET_TOPIC_FAILED-0x1302-4866Failed to get the topic over WAN.
OPRT_QTH_WAN_UNKNOWN_FAILED-0x1303-4867WAN connection unknown error.
OPRT_QTH_LOC_OUTSIDE_IS_NULL-0x1500-5376The location data obtained from the external GNSS module is null.
OPRT_QTH_DMP_SERVER_ERROR-0x1700-5888Exceptions occurred for some server APIs.
OPRT_QTH_DMP_SEND_NOT_ALLOW-0x1701-5889Device messages are limited.
OPRT_QTH_DMP_AUTH_NOT_ALLOW-0x1702-5890The device cannot be activated.
OPRT_QTH_DMP_AUTH_ALREADY-0x1703-5891The device has been authenticated.
OPRT_QTH_DMP_PK_NOT_FOUND-0x1704-5892No product information is found via the ProductKey.
OPRT_QTH_DMP_PAYLOAD_INVALID-0x1705-5893Password parsing error.
OPRT_QTH_DMP_SIGN_ERROR-0x1706-5894Sign error.
OPRT_QTH_DMP_RAND_ILLEGAL-0x1707-5895Rand is illegal.
OPRT_QTH_DMP_MISMATCH-0x1708-5896The passed DeviceKey and ProductKey are inconsistent with those stored in the database.
OPRT_QTH_DMP_DK_ILLEGAL-0x1709-5897DeviceKey is illegal.
OPRT_QTH_DMP_FLAG_ILLEGAL-0x170a-5898Flag is illegal.
OPRT_QTH_DMP_CLIENTID_ERROR-0x170b-5899ClientID is not matched with the password.
OPRT_QTH_DMP_DS_ERROR-0x170c-5900DeviceSecret is incorrect.
OPRT_QTH_DMP_DK_NOT_FOUND-0x170d-5901Device information not found.
OPRT_QTH_DMP_SUB_RELATED-0x170e-5902The gateway is not associated with the sub-device.
OPRT_QTH_DMP_SUB_CONNECT_ALREADY-0x170f-5903The sub-device is already online.
OPRT_QTH_DMP_DEV_OFFLINE-0x1710-5904Device offline.
OPRT_QTH_DMP_UNKNOWN_ERROR-0x1711-5905Unknown error.
OPRT_QTH_OTA_REQUEST_FAILED-0x1a00-6656Failed to request an OTA upgrade.
OPRT_QTH_OTA_ID_NOT_TASK-0x1a01-6657No OTA upgrade task is in progress for the component.
OPRT_QTH_WIFI_OPEN_NETCFG_FAILED-0x1c00-7168Failed to enable Wi-Fi network provisioning.
OPRT_QTH_WIFI_CONN_ROUTER_FAILED-0x1c01-7169Failed to connect to the router.
OPRT_QTH_WIFI_ROUTER_DISCONNECTED-0x1c02-7170Router disconnected.
OPRT_QTH_SUBDEV_OFFLINE-0x1d00-7424Sub-device offline.
OPRT_QTH_SUBDEV_NODE_NOTFOUND-0x1d01-7425Sub-device not found.
OPRT_QTH_SUBDEV_PS_NOTFOUNT-0x1d02-7426ProductSecret of the sub-device not found.
OPRT_QTH_SUBDEV_DS_NOTFOUNT-0x1d03-7427DeviceSecret of the sub-device not found.
OPRT_QTH_SUBDEV_ALREADY_LOGIN-0x1d04-7428Sub-device already logged in.