You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I may have found a solution for updating the battery percentage.
Adding a call to this->hid->setBatteryLevel(level); in the setBatteryLevel of the BleKeyboard class makes the updating work for me.
However setting the battery level before "begin" causes an exception, so I am not sure if this is a viable solution. Maybe add a dedicated notify function or something?
The text was updated successfully, but these errors were encountered:
First of all thanks for making this.
I think I may have found a solution for updating the battery percentage.
Adding a call to
this->hid->setBatteryLevel(level);
in thesetBatteryLevel
of theBleKeyboard
class makes the updating work for me.However setting the battery level before "begin" causes an exception, so I am not sure if this is a viable solution. Maybe add a dedicated notify function or something?
The text was updated successfully, but these errors were encountered: