mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-04 04:40:50 +00:00

* New UUID * New log radio characteristic with LogRecord protobuf * LogRecord * Merge derp * How did you get there * Trunk * Fix length * Remove assert
22 lines
421 B
C++
22 lines
421 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);
|
|
|
|
private:
|
|
void setupService();
|
|
void startAdvertising();
|
|
};
|
|
|
|
void setBluetoothEnable(bool enable);
|
|
void clearNVS(); |