perf: tune BLE scanning performance, switch over to NimBLE

This commit is contained in:
2026-05-21 21:50:00 +02:00
parent 52cfd9ce33
commit cf1db45c18
9 changed files with 500 additions and 684 deletions
+1
View File
@@ -16,4 +16,5 @@ idf_component_register(
app_update
driver
esp_driver_gpio
esp_coex
)
+3
View File
@@ -5,6 +5,7 @@
#include "led_indicator.h"
#include "ota_manager.h"
#include "esp_ota_ops.h"
#include "esp_coexist.h"
#include "esp_wifi.h"
#include "esp_event.h"
@@ -236,6 +237,8 @@ void app_main(void)
ESP_LOGI(TAG, "OTA rollback cancelled - firmware validated");
}
esp_coex_preference_set(ESP_COEX_PREFER_BALANCE);
// init BLE scanner
ble_scanner_init(on_ble_scan_result);
ble_scanner_start();