10#ifndef _TUYA_HAL_OTA_H_
11#define _TUYA_HAL_OTA_H_
52 const unsigned char* data,
const unsigned int len,
unsigned int* remain_len,
void* pri_data);
Common process - implement the ota operation of the ota
int tuya_hal_ota_end_inform(BOOL_T reset)
Ota data transfer completion notification
VOID_T tuya_os_ota_intf_init(VOID_T)
Ota interface initialization
int tuya_hal_ota_data_process(const unsigned int total_len, const unsigned int offset, const unsigned char *data, const unsigned int len, unsigned int *remain_len, void *pri_data)
Ota data packet processing
int tuya_hal_ota_start_inform(unsigned int file_size, OTA_TYPE type)
Start upgrade notification