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

Avoid parsing services with v3 connections without cache (#4117)

Co-authored-by: Daniel Cousens <413395+dcousens@users.noreply.github.com>
Co-authored-by: Maurice Makaay <account+github@makaay.nl>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2022-11-29 10:40:31 -10:00
committed by GitHub
parent a6196267c9
commit a59ce7bfa2
5 changed files with 41 additions and 15 deletions

View File

@@ -84,6 +84,7 @@ class BLEClientBase : public espbt::ESPBTClient, public Component {
uint64_t address_{0};
std::string address_str_{};
uint8_t connection_index_;
int16_t service_count_{0};
uint16_t mtu_{23};
espbt::ConnectionType connection_type_{espbt::ConnectionType::V1};