Error Code Description
Functional Overview
The errorCode represents the status of the entire SDK. When errorCode equals 0, it indicates success; other values indicate failure.
Positive numbers: Firmware status codes (returned by the SDK to the application layer)
Negative numbers: SDK status codes
Corresponding Error Code Table
| Error Code | Description |
|---|---|
| 0 | Command executed successfully |
| 1 | SVC handler is missing |
| 2 | SoftDevice has not been enabled |
| 3 | Internal Error |
| 4 | No Memory for operation |
| 5 | Not found |
| 6 | Not supported |
| 7 | Invalid Parameter |
| 8 | Invalid state, operation disallowed in this state |
| 9 | Invalid Length |
| 10 | Invalid Flags |
| 11 | Invalid Data |
| 12 | Invalid Data size |
| 13 | Operation timed out |
| 14 | Null Pointer |
| 15 | Forbidden Operation |
| 16 | Bad Memory Address |
| 17 | Busy |
| 18 | Maximum connection count exceeded |
| 19 | Not enough resources for operation |
| 20 | Bt Bluetooth upgrade error |
| 21 | Not enough space for operation |
| 22 | Low Battery |
| 23 | Invalid File Name/Format |
| 24 | Watch space needs to be organized |
| 25 | Watch space is being organized |
| 26 | In power saving mode |
| 27 | In exercise |
| 28 | In call |
| 29 | In charging |
| 30 | Device full |
| 31 | Start continuous file transfer operation |
| -1 | Cancel |
| -2 | Fail |
| -3 | Command already in queue (triggered when the same command with same parameters is queued more than 3 times) |
| -4 | Performing fast configuration, command ignored |
| -5 | Device in OTA mode |
| -6 | Device not connected |
| -7 | Executing command was interrupted |