mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-19 09:51:30 +10:00
fix class definition
This commit is contained in:
@@ -8,20 +8,16 @@ class NimbleBluetooth : public BluetoothApi
|
|||||||
void shutdown() override;
|
void shutdown() override;
|
||||||
void deinit() override;
|
void deinit() override;
|
||||||
void clearBonds() override;
|
void clearBonds() override;
|
||||||
bool isActive();
|
bool isActive() override;
|
||||||
bool isConnected() override;
|
bool isConnected() override;
|
||||||
int getRssi() override;
|
int getRssi() override;
|
||||||
void sendLog(const uint8_t *logMessage, size_t length) override;
|
void sendLog(const uint8_t *logMessage, size_t length) override;
|
||||||
#if defined(NIMBLE_TWO)
|
|
||||||
void startAdvertising();
|
void startAdvertising();
|
||||||
#endif
|
|
||||||
bool isDeInit = false;
|
bool isDeInit = false;
|
||||||
|
virtual ~NimbleBluetooth() {}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void setupService();
|
void setupService();
|
||||||
#if !defined(NIMBLE_TWO)
|
|
||||||
void startAdvertising();
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void setBluetoothEnable(bool enable);
|
void setBluetoothEnable(bool enable);
|
||||||
|
|||||||
Reference in New Issue
Block a user