Home
last modified time | relevance | path

Searched refs:otahandle (Results 1 – 2 of 2) sorted by relevance

/external/libwebsockets/plugins/
Dprotocol_esp32_lws_ota.c36 esp_ota_handle_t otahandle; member
118 if (esp_ota_begin(pss->part, OTA_SIZE_UNKNOWN, &pss->otahandle) != ESP_OK) { in ota_file_upload_cb()
139 if (esp_ota_write(pss->otahandle, buf, len) != ESP_OK) { in ota_file_upload_cb()
149 if (esp_ota_end(pss->otahandle) != ESP_OK) { in ota_file_upload_cb()
Dprotocol_esp32_lws_scan.c74 esp_ota_handle_t otahandle; member
1154 if (esp_ota_begin(vhd->part, (long)-1, &vhd->otahandle) != ESP_OK) { in callback_esplws_scan()
1188 if (esp_ota_write(vhd->otahandle, in, len) != ESP_OK) { in callback_esplws_scan()
1198 esp_ota_end(vhd->otahandle); in callback_esplws_scan()
1199 vhd->otahandle = 0; in callback_esplws_scan()
1230 if (esp_ota_end(vhd->otahandle) != ESP_OK) { in callback_esplws_scan()
1239 vhd->otahandle = 0; in callback_esplws_scan()