mirror of
https://github.com/esphome/esphome.git
synced 2025-09-12 08:12:22 +01:00
[ble_client, bluetooth_proxy, esp32_ble_client, esp32_ble_tracker] fix ble proxy stop working (#7901)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
@@ -26,6 +26,7 @@ class BLEClientBase : public espbt::ESPBTClient, public Component {
|
||||
void setup() override;
|
||||
void loop() override;
|
||||
float get_setup_priority() const override;
|
||||
void dump_config() override;
|
||||
|
||||
void run_later(std::function<void()> &&f); // NOLINT
|
||||
bool parse_device(const espbt::ESPBTDevice &device) override;
|
||||
@@ -103,6 +104,7 @@ class BLEClientBase : public espbt::ESPBTClient, public Component {
|
||||
bool paired_{false};
|
||||
espbt::ConnectionType connection_type_{espbt::ConnectionType::V1};
|
||||
std::vector<BLEService *> services_;
|
||||
esp_gatt_status_t status_{ESP_GATT_OK};
|
||||
|
||||
void log_event_(const char *name);
|
||||
};
|
||||
|
Reference in New Issue
Block a user