1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-29 22:24:26 +00:00

[bluetooth_proxy] Optimize connection loop to reduce CPU usage (#10133)

This commit is contained in:
J. Nick Koston
2025-08-07 16:24:26 -10:00
committed by GitHub
parent 58504662d8
commit 7e4d09dbd8
4 changed files with 20 additions and 9 deletions

View File

@@ -23,6 +23,7 @@ namespace esphome::bluetooth_proxy {
static const esp_err_t ESP_GATT_NOT_CONNECTED = -1;
static const int DONE_SENDING_SERVICES = -2;
static const int INIT_SENDING_SERVICES = -3;
using namespace esp32_ble_client;