Upgrade all esp32 targets to NimBLE 2.X (#9003)

* Upgrade all esp32 targets to NimBLE 2.X

* Remove guard
This commit is contained in:
Ben Meadors
2025-12-17 10:40:33 -06:00
committed by GitHub
parent 269dee7a2d
commit 40f1f91c0d
6 changed files with 83 additions and 147 deletions

View File

@@ -12,16 +12,11 @@ class NimbleBluetooth : BluetoothApi
bool isConnected();
int getRssi();
void sendLog(const uint8_t *logMessage, size_t length);
#if defined(NIMBLE_TWO)
void startAdvertising();
#endif
bool isDeInit = false;
private:
void setupService();
#if !defined(NIMBLE_TWO)
void startAdvertising();
#endif
};
void setBluetoothEnable(bool enable);