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

This reverts commit 40f1f91c0d.
This commit is contained in:
Ben Meadors
2025-12-30 17:23:50 -06:00
committed by GitHub
parent ac571d5dd2
commit 1b83501ee2
6 changed files with 146 additions and 82 deletions

View File

@@ -12,11 +12,16 @@ 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);