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:
millst
2021-07-20 10:42:48 +12:00
committed by GitHub
parent 9b2444b990
commit 6cbd6e31c1

View File

@@ -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;