fix(ble): Restore BLE SC passkey entry for pairing.

* Handle capturing numeric inputs while pairing and sending
  final passkey once six digits entered.
This commit is contained in:
Peter Johanson
2022-01-24 13:43:45 -05:00
committed by Pete Johanson
parent 4c317e0feb
commit ed48d1ae89
2 changed files with 78 additions and 20 deletions

View File

@@ -21,8 +21,7 @@ bool zmk_ble_active_profile_is_connected();
char *zmk_ble_active_profile_name();
int zmk_ble_unpair_all();
bool zmk_ble_handle_key_user(struct zmk_key_event *key_event);
#if IS_ENABLED(CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL)
void zmk_ble_set_peripheral_addr(bt_addr_le_t *addr);
#endif /* IS_ENABLED(CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL) */
#endif /* IS_ENABLED(CONFIG_ZMK_SPLIT_BLE_ROLE_CENTRAL) */