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

Fix descriptors not being deleted (#4104)

This commit is contained in:
J. Nick Koston
2022-11-28 08:49:41 -10:00
committed by GitHub
parent 1166d93805
commit 75573a3ed1
7 changed files with 26 additions and 6 deletions

View File

@@ -34,6 +34,7 @@ class BLEClientBase : public espbt::ESPBTClient, public Component {
void gap_event_handler(esp_gap_ble_cb_event_t event, esp_ble_gap_cb_param_t *param) override;
void connect() override;
void disconnect();
void release_services();
bool connected() { return this->state_ == espbt::ClientState::ESTABLISHED; }