[bluetooth_connection] Use a user provided default constructor for BluedroidGattClient (#19201)

This commit is contained in:
J. Nick Koston
2026-09-16 18:23:50 +12:00
committed by GitHub
parent e50428fce5
commit 9162dc38ce
@@ -31,6 +31,9 @@ class BluetoothConnection;
// void disconnect() cannot overload with an int-returning twin.
class BluedroidGattClient final : public esp32_ble_tracker::ESPBTClient, public Component {
public:
// User provided, not "= default": `new(p) BluedroidGattClient()` would zero-fill .bss that is already zero.
BluedroidGattClient() {}
static constexpr uint16_t UNSET_CONN_ID = 0xFFFF;
// Lifecycle of one connection attempt's service search.