Files
firmware/src/nimble/NimbleBluetooth.h
todd-herbert 1d97544041 Wireless Paper: Fix BLE after Lightsleep (#3629)
* NimBLE deinit for deep-sleep only

* Optionally disable blink during light-sleep

* Advised to revert "blink disable"
This reverts commit 66347ce19b.
2024-04-15 06:50:42 -05:00

21 lines
361 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();
private:
void setupService();
void startAdvertising();
};
void setBluetoothEnable(bool enable);
void clearNVS();