fix(nimble): Address review comments for hidd / hidh code

This commit is contained in:
Rahul Tank
2026-04-16 10:29:21 +05:30
parent fd594b74b6
commit 82caa79c0f
10 changed files with 955 additions and 348 deletions
+3 -3
View File
@@ -197,9 +197,9 @@ esp_err_t esp_blufi_host_init(void)
ble_hs_cfg.gatts_register_cb = esp_blufi_gatt_svr_register_cb;
ble_hs_cfg.store_status_cb = ble_store_util_status_rr;
/* FALSE POSITIVE: BLUFI uses its own app-layer security (DH + AES), not BLE SM.
* sm_mitm/sm_sc/sm_bonding are opt-in via Kconfig to let the example show
* multiple configurations; Just Works is acceptable for BLUFI provisioning. */
/* BLUFI uses its own application-layer security (DH + AES), not BLE Security
* Manager. sm_mitm/sm_sc/sm_bonding are opt-in via Kconfig; Just Works
* pairing is acceptable because the DH key exchange provides the security. */
ble_hs_cfg.sm_io_cap = 4;
#ifdef CONFIG_EXAMPLE_BONDING
ble_hs_cfg.sm_bonding = 1;