Files
firmware/src/nimble/NimbleBluetooth.h
Ben Meadors 72050530f1 NRF52 bluetooth cleanup and fix (#3328)
* NRF52 bluetooth cleanup. Fixes BLE not returning after serial PhoneAPI connection

* Use new var name in esp32 arch
2024-03-03 13:56:55 -06:00

20 lines
342 B
C++

#pragma once
#include "BluetoothCommon.h"
class NimbleBluetooth : BluetoothApi
{
public:
void setup();
void shutdown();
void clearBonds();
bool isActive();
bool isConnected();
int getRssi();
private:
void setupService();
void startAdvertising();
};
void setBluetoothEnable(bool enable);
void clearNVS();