Error code description
5.1Functional Overview
errorCode is the basis for judging the status of the global command callback. When the errorCode is equal to 0, it is successful, and other values are failure. The error code string can be obtained through the method in the IDOErrorCodeToStr class, or the explanation of the code corresponding to the documentation can be used。
5.2 Corresponding error code table
error code | string | Remark |
---|---|---|
0 | SUCCESS | success |
4 | ERROR_NO_MEM | unknown |
5 | ERROR_NOT_FIND | Method not found |
6 | ERROR_NOT_SUPPORTED | This feature is not supported |
7 | ERROR_INVALID_PARAM | invalid parameter |
8 | ERROR_INVALID_STATE | invalid state |
9 | ERROR_INVALID_LENGTH | invalid data length |
10 | ERROR_INVALID_FLAGS | unknown |
11 | ERROR_INVALID_DATA | invalid data |
12 | ERROR_DATA_SIZE | wrong data size |
13 | ERROR_TIMEOUT | time out |
14 | ERROR_NULL | empty data |
15 | ERROR_FORBIDDEN | Forbidden errors/td> |
17 | ERROR_BUSY | The system is busy |
18 | ERROR_LOW_BATT | battery is too low |
19 | ERROR_SERIAL | Bluetooth disconnection |
20 | ERROR_TIME_OUT_RECONNECT | Bluetooth disconnection |
21 | ERROR_APP_TEST | Bluetooth disconnection |
22 | ERROR_MAX_TIME | Bluetooth disconnection |
24 | ERROR_WATCH_SPACE_ORGANIZATION | Dial space is enough but needs to be organized |
25 | ERROR_WATCH_SPACE_ORGANIZATION_ING | The dial space is being organized |
1019 | ERROR_BLUETOOTH_DISCONNECT | Bluetooth disconnection |
1020 | ERROR_MODEL_DATA | Model data error |
1021 | ERROR_CURRENT_OTA | Current OTA |
1022 | ERROR_DEVICE_SYNCING | synchronizing |
1023 | ERROR_AUTH_CODE | wrong authorization code |
1024 | ERROR_SET_PAIRING_CANCEL | Unpairing |
1025 | ERROR_SET_PAIRING_UNKNOWN_TIMEOUT | Pairing unknown timeout |
1026 | ERROR_SET_PAIRING_RECONNECT | Pairing reconnection failed |
1027 | ERROR_SET_OTA_RECONNECT | OTA reconnection failed |
1028 | ERROR_TRAN_FILE_NO_EXIST | Transfer file does not exist wrong transfer file path |
1029 | ERROR_TRAN_FILE_FAILED | Failed to transfer file |
1030 | ERROR_ALARM_ID | Alarm ID is wrong |
1031 | ERROR_PAIRING_TIMEOUT | pairing timeout |
1032 | ERROR_FAST_CONFIG | fast shipping error |
1033 | ERROR_MIGRATION_ING | data migration |
1034 | ERROR_BLUE_PAIRING | Bluetooth pairing |
1035 | ERROR_DEVICE_NO_BIND | Device not bound |
1036 | ERROR_TRAN_FILE_GPS_RUN | GPS running |
1037 | ERROR_SYNC_ITEM_TYPE | Error synchronization class item |
1038 | ERROR_TRAN_FILE_ING | transferring files |
1039 | ERROR_METHOD_DEPRECATED | method deprecation |
1040 | ERROR_ALARM_NAME | wrong alarm clock name |
1041 | ERROR_ENCRYPTED_CODE | Authentication code error |
1042 | ERROR_WRITE_VALUE | write data error |
1043 | ERROR_SYNC_ACTIVITY_EMPTY | Sync activity data is empty |
1044 | ERROR_SYNC_GPS_EMPTY | Sync GPS data is empty |