mirror of
https://github.com/esphome/esphome.git
synced 2025-10-13 15:23:49 +01:00
[bluetooth_proxy] Optimize memory usage with fixed-size array and const string references (#10015)
This commit is contained in:
@@ -66,7 +66,7 @@ class BLEClientBase : public espbt::ESPBTClient, public Component {
|
||||
(uint8_t) (this->address_ >> 0) & 0xff);
|
||||
}
|
||||
}
|
||||
std::string address_str() const { return this->address_str_; }
|
||||
const std::string &address_str() const { return this->address_str_; }
|
||||
|
||||
BLEService *get_service(espbt::ESPBTUUID uuid);
|
||||
BLEService *get_service(uint16_t uuid);
|
||||
|
Reference in New Issue
Block a user