You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| url1 |str| The url of the first stage upgrade package to be downloaded |
3212
-
| url2 |str| The url of the second stage upgrade package to be downloaded. Note: this parameter must be inputfor the minimum system upgrade because the minimum system is divided into two stages, while this parameter is forbidden to be inputforDFOTAand FullFOTA upgrade because there is only one stage forDFOTAand FullFOTA. |
3213
-
| callback | function | Callback function which shows downloading progress and status (Optional). Note: This callback is valid on EC600S/EC600N modules withnon-minimum system upgrade mode. It is invalid on other modules. |
3216
+
| url2 |str| The url of the second stage upgrade package to be downloaded. Note: this parameter must be inputfor the minimum system upgrade because the minimum system is divided into two stages, while this parameter is forbidden to be inputforDFOTAand FullFOTA upgrade because there is only one stage forDFOTAand FullFOTA. Only EC600S/EC600N modules support the minimum system upgrade mode. |
3217
+
| callback | function | Callback function which shows downloading progress and status (Optional). Note: This callback is valid on non-minimum system upgrade mode. |
3214
3218
3215
3219
- Return Value
3216
3220
@@ -3223,7 +3227,7 @@ Realize the whole process of firmware download and upgrade with one interface
3223
3227
- Example
3224
3228
3225
3229
```python
3226
-
#args[0] indicates the download status. If the download is successful, it returns an integer value: 0 or 1 or 2. If the download fails, it returns an integer value: -1. args[1] represents the download progress. When the download status shows success, it represents the percentage. When the download status shows failure, it represents error code
3230
+
#args[0] indicates the download status. If the download is successful, it returns an integer value: 0 or 1 or 2. If the download fails, it returns an integer value: values other than 0,1,2. args[1] represents the download progress. Note:on EC600S/EC600N module,when the download status shows success, it represents the percentage. When the download status shows failure, it represents error code
0 commit comments