feat(split): Add is_bonded function to peripherals

There is already a function to see if the peripheral is connected, a matching one for if it's bonded is a useful addition for displays/indicators. `is_bonded` gets reset to false in the advertising function in preparation for runtime peripheral bond clearing
This commit is contained in:
ReFil
2023-12-04 23:31:35 +00:00
committed by GitHub
parent 9bacaffe62
commit dbe5dfb1d8
2 changed files with 16 additions and 1 deletions

View File

@@ -6,4 +6,6 @@
#pragma once
bool zmk_split_bt_peripheral_is_connected(void);
bool zmk_split_bt_peripheral_is_connected(void);
bool zmk_split_bt_peripheral_is_bonded(void);