1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-16 18:22:22 +01:00

[bluetooth_proxy] Batch BLE service discovery messages for 67% reduction in API traffic (#9992)

This commit is contained in:
J. Nick Koston
2025-07-30 18:11:11 -10:00
committed by GitHub
parent 88cfcc1967
commit 71557c9f58
5 changed files with 109 additions and 92 deletions

View File

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