mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-31 23:21:06 +00:00
21 lines
339 B
C++
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();
|