mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-20 04:55:20 -05:00
refactor(ble): add functions to check if profile is open/connected by address (#2993)
Helper functions for BLE profile statuses.
This commit is contained in:
@@ -33,6 +33,9 @@ bt_addr_le_t *zmk_ble_profile_address(uint8_t index);
|
||||
bt_addr_le_t *zmk_ble_active_profile_addr(void);
|
||||
struct bt_conn *zmk_ble_active_profile_conn(void);
|
||||
|
||||
bool zmk_ble_profile_is_connected(uint8_t index);
|
||||
bool zmk_ble_profile_is_open(uint8_t index);
|
||||
|
||||
bool zmk_ble_active_profile_is_open(void);
|
||||
bool zmk_ble_active_profile_is_connected(void);
|
||||
char *zmk_ble_active_profile_name(void);
|
||||
|
||||
Reference in New Issue
Block a user