forked from kofal.net/zmk
bt: add BT_CLR_ALL behaviour
Defines behaviour to clear all paired Bluetooth profiles
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#define BT_NXT_CMD 1
|
||||
#define BT_PRV_CMD 2
|
||||
#define BT_SEL_CMD 3
|
||||
// #define BT_FULL_RESET_CMD 4
|
||||
#define BT_CLR_ALL_CMD 4
|
||||
#define BT_DISC_CMD 5
|
||||
|
||||
/*
|
||||
@@ -20,4 +20,5 @@ defines these aliases up front.
|
||||
#define BT_NXT BT_NXT_CMD 0
|
||||
#define BT_PRV BT_PRV_CMD 0
|
||||
#define BT_SEL BT_SEL_CMD
|
||||
#define BT_CLR_ALL BT_CLR_ALL_CMD 0
|
||||
#define BT_DISC BT_DISC_CMD
|
||||
|
||||
@@ -24,6 +24,7 @@ int zmk_ble_clear_bonds();
|
||||
int zmk_ble_prof_next();
|
||||
int zmk_ble_prof_prev();
|
||||
int zmk_ble_prof_select(uint8_t index);
|
||||
int zmk_ble_clear_all_bonds();
|
||||
int zmk_ble_prof_disconnect(uint8_t index);
|
||||
|
||||
int zmk_ble_active_profile_index();
|
||||
|
||||
Reference in New Issue
Block a user