Skip to content

Commit

Permalink
added setName to BleKeyboard.h (#100)
Browse files Browse the repository at this point in the history
added setName function to allow changing the name of the device using a stored preference (must be called before begin).
  • Loading branch information
millst authored Jul 19, 2021
1 parent 9b2444b commit 6cbd6e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BleKeyboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ class BleKeyboard : public Print
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;
Expand Down

0 comments on commit 6cbd6e3

Please sign in to comment.