feat(ble): Support perhipheral battery levels.
* Add ability to fetch and report peripheral battery levels on split centrals. * Add additional support for adding a new Battery Level service to split centrals that exposes fetched peripheral battery levels to connected hosts. Co-authored-by: Peter Johanson <peter@peterjohanson.com>
This commit is contained in:
parent
d35311af97
commit
0e2f94b73b
9 changed files with 299 additions and 21 deletions
|
|
@ -7,4 +7,6 @@
|
|||
#include <zephyr/kernel.h>
|
||||
#include <zmk/events/battery_state_changed.h>
|
||||
|
||||
ZMK_EVENT_IMPL(zmk_battery_state_changed);
|
||||
ZMK_EVENT_IMPL(zmk_battery_state_changed);
|
||||
|
||||
ZMK_EVENT_IMPL(zmk_peripheral_battery_state_changed);
|
||||
Loading…
Add table
Add a link
Reference in a new issue