mirror of
https://github.com/T-vK/ESP32-BLE-Keyboard.git
synced 2026-02-20 01:41:32 +01:00
added setName to BleKeyboard.h (#100)
added setName function to allow changing the name of the device using a stored preference (must be called before begin).
This commit is contained in:
@@ -113,6 +113,7 @@ public:
|
||||
void releaseAll(void);
|
||||
bool isConnected(void);
|
||||
void setBatteryLevel(uint8_t level);
|
||||
void setName(std::string deviceName);
|
||||
uint8_t batteryLevel;
|
||||
std::string deviceManufacturer;
|
||||
std::string deviceName;
|
||||
|
||||
Reference in New Issue
Block a user