|
TuyaOS
|
Common process - implement the ota operation of the ota 更多...
#include "tuya_cloud_types.h"
函数 | |
| OPERATE_RET | tal_ota_data_process (TUYA_OTA_DATA_T *pack, UINT_T *remain_len) |
| ota data process 更多... | |
| OPERATE_RET | tal_ota_end_notify (BOOL_T reset) |
| ota end notify 更多... | |
| OPERATE_RET | tal_ota_get_ability (UINT_T *image_size, TUYA_OTA_TYPE_E *type) |
| get ota ability 更多... | |
| OPERATE_RET | tal_ota_get_old_firmware_info (TUYA_OTA_FIRMWARE_INFO_T **info) |
| get old firmware info 更多... | |
| OPERATE_RET | tal_ota_start_notify (UINT_T image_size, TUYA_OTA_TYPE_E type, TUYA_OTA_PATH_E path) |
| ota start notify 更多... | |
Common process - implement the ota operation of the ota
| OPERATE_RET tal_ota_data_process | ( | TUYA_OTA_DATA_T * | pack, |
| UINT_T * | remain_len | ||
| ) |
ota data process
| [in] | pack | point to ota pack |
| [in] | remain_len | ota pack remain len |
| OPERATE_RET tal_ota_end_notify | ( | BOOL_T | reset | ) |
ota end notify
| [in] | reset | ota reset |
| OPERATE_RET tal_ota_get_ability | ( | UINT_T * | image_size, |
| TUYA_OTA_TYPE_E * | type | ||
| ) |
get ota ability
| [out] | image_size | max image size |
| [out] | type | full package and compress package upgrade use TUYA_OTA_FULL diff package upgrade use TUYA_OTA_DIFF |
| OPERATE_RET tal_ota_get_old_firmware_info | ( | TUYA_OTA_FIRMWARE_INFO_T ** | info | ) |
get old firmware info
| [out] | image_size | max image size |
| [out] | type | ota type |
| OPERATE_RET tal_ota_start_notify | ( | UINT_T | image_size, |
| TUYA_OTA_TYPE_E | type, | ||
| TUYA_OTA_PATH_E | path | ||
| ) |
ota start notify
| [in] | image_size | image size |
| [in] | type | ota type |