Search found 2 matches

by yozad.von
Wed Apr 24, 2024 9:20 am
Forum: ESP-IDF 中文讨论版
Topic: 求助:OTA esp_ota_get_state_partition
Replies: 0
Views: 509

求助:OTA esp_ota_get_state_partition

我用ESP32S3 开发板测试蓝牙OTA升级功能遇到了点问题。以下是升级代码 case ESP_GATTS_WRITE_EVT: if (descr_value == 0x0003){ ESP_LOGI(GATTS_TAG_CTL, "======beginota======"); // FIXME 在这里增加版本判断 update_partition = esp_ota_get_next_update_partition(NULL); assert(update_partition != NULL); ESP_LOGI(GATTS_TAG_CTL, "Writing to partition...
by yozad.von
Wed Apr 24, 2024 9:09 am
Forum: General Discussion
Topic: OTA esp_ota_get_state_partition problem
Replies: 0
Views: 291

OTA esp_ota_get_state_partition problem

Environment Chip used: ESP32S3 SDK version (run git describe --tags to find it):esp-idf-v5.1.2 I'm having some issues with an OTA update using BLE. The code is case ESP_GATTS_WRITE_EVT: if (descr_value == 0x0003){ ESP_LOGI(GATTS_TAG_CTL, "======beginota======"); // FIXME 在这里增加版本判断 update_partition =...