Files
firmware/src/nimble/NimbleBluetooth.h
Ben Meadors 40f1f91c0d Upgrade all esp32 targets to NimBLE 2.X (#9003)
* Upgrade all esp32 targets to NimBLE 2.X

* Remove guard
2025-12-17 10:40:33 -06:00

23 lines
448 B
C++

#pragma once
#include "BluetoothCommon.h"
class NimbleBluetooth : BluetoothApi
{
public:
void setup();
void shutdown();
void deinit();
void clearBonds();
bool isActive();
bool isConnected();
int getRssi();
void sendLog(const uint8_t *logMessage, size_t length);
void startAdvertising();
bool isDeInit = false;
private:
void setupService();
};
void setBluetoothEnable(bool enable);
void clearNVS();