esphome/esphome/components/bluetooth_proxy
J. Nick Koston 9ee661c1e4
Add ability to clear the gatt cache (#4621)
* Add ability to clear the gatt cache

With BlueZ we can fully clear the cache when something goes wrong with the services, however since this is also a cache on the ESP32 we need to be able to clear the on device cache as well for the proxies since if something goes wrong with the service resolution it can cache the bad resolution on NVS forever.

Our current client implementation is limited to clearing the memory cache in Home Assistant 89355e0879/homeassistant/components/esphome/bluetooth/client.py (L512)

related issue https://github.com/esphome/issues/issues/4156

https://github.com/esphome/aioesphomeapi/pull/410

* naming

* lint

* lint

* naming

* naming

* naming

* 88 now that 87 is taken

* make const

* Update esphome/components/api/api_frame_helper.cpp
2023-03-26 21:48:56 +00:00
..
__init__.py Speed up bluetooth proxy connections when using esp-idf (#4171) 2022-12-13 13:57:12 +13:00
bluetooth_connection.cpp implement pairing for bluetooth proxy (#4475) 2023-03-06 18:04:35 +00:00
bluetooth_connection.h implement pairing for bluetooth proxy (#4475) 2023-03-06 18:04:35 +00:00
bluetooth_proxy.cpp Add ability to clear the gatt cache (#4621) 2023-03-26 21:48:56 +00:00
bluetooth_proxy.h Add ability to clear the gatt cache (#4621) 2023-03-26 21:48:56 +00:00