mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-22 14:05:17 -05:00
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
11 lines
195 B
C
11 lines
195 B
C
/*
|
|
* Copyright (c) 2022 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
bool zmk_split_bt_peripheral_is_connected(void);
|
|
|
|
bool zmk_split_bt_peripheral_is_bonded(void); |