Searched refs:ota_handle (Results 1 – 5 of 5) sorted by relevance
71 void *ota_handle = NULL; in dm_fota_perform_sync() local80 res = dm_ota_get_ota_handle(&ota_handle); in dm_fota_perform_sync()85 if (ota_handle == NULL) { in dm_fota_perform_sync()95 IOT_OTA_Ioctl(ota_handle, IOT_OTAG_RESET_FETCHED_SIZE, ota_handle, 4); in dm_fota_perform_sync()148 if (IOT_OTA_IsFetchFinish(ota_handle)) { in dm_fota_perform_sync()174 void *ota_handle = NULL; in dm_fota_status_check() local177 res = dm_ota_get_ota_handle(&ota_handle); in dm_fota_status_check()182 if (IOT_OTA_IsFetching(ota_handle)) { in dm_fota_status_check()205 void *ota_handle = NULL; in dm_fota_request_image() local214 res = dm_ota_get_ota_handle(&ota_handle); in dm_fota_request_image()[all …]
46 static int _dm_cota_send_new_config_to_user(void *ota_handle) in _dm_cota_send_new_config_to_user() argument123 void *ota_handle = NULL; in dm_cota_perform_sync() local131 res = dm_ota_get_ota_handle(&ota_handle); in dm_cota_perform_sync()136 if (ota_handle == NULL) { in dm_cota_perform_sync()146 IOT_OTA_Ioctl(ota_handle, IOT_OTAG_RESET_FETCHED_SIZE, ota_handle, 4); in dm_cota_perform_sync()183 if (IOT_OTA_IsFetchFinish(ota_handle)) { in dm_cota_perform_sync()206 void *ota_handle = NULL; in dm_cota_get_config() local209 res = dm_ota_get_ota_handle(&ota_handle); in dm_cota_get_config()222 void *ota_handle = NULL; in dm_cota_status_check() local225 res = dm_ota_get_ota_handle(&ota_handle); in dm_cota_status_check()[all …]
51 ctx->ota_handle = handle; in dm_ota_sub()60 if (ctx->ota_handle) { in dm_ota_deinit()61 IOT_OTA_Deinit(ctx->ota_handle); in dm_ota_deinit()62 ctx->ota_handle = NULL; in dm_ota_deinit()75 void *ota_handle = NULL; in dm_ota_switch_device() local85 ota_handle = NULL; in dm_ota_switch_device()86 res = dm_ota_get_ota_handle(&ota_handle); in dm_ota_switch_device()93 if (IOT_OTA_IsFetching(ota_handle)) { in dm_ota_switch_device()121 if (ctx->ota_handle == NULL) { in dm_ota_get_ota_handle()125 *handle = ctx->ota_handle; in dm_ota_get_ota_handle()
9 void *ota_handle; member
76 if (ota_handle == NULL) { in aiot_ota_init()81 ota_handle->sysdep = sysdep; in aiot_ota_init()83 return ota_handle; in aiot_ota_init()108 sysdep = ota_handle->sysdep; in aiot_ota_deinit()122 if (NULL == ota_handle) { in aiot_ota_setopt()129 sysdep = ota_handle->sysdep; in aiot_ota_setopt()337 if (NULL == ota_handle) { in aiot_ota_report_version()353 if (ota_handle->module) { in aiot_ota_report_version()375 if (NULL == ota_handle) { in aiot_ota_report_version_ext()420 if (ota_handle->module) { in aiot_ota_query_firmware()[all …]
Completed in 17 milliseconds