Files
firmware/src/nimble/NimbleBluetooth.h
2023-02-03 08:50:10 -06:00

21 lines
339 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 on);
void clearNVS();