fix(bt/bluedroid): Fixed HID host reconnection bug and enabled load HID devices

Closes https://github.com/espressif/esp-idf/issues/18335
This commit is contained in:
liqigan
2026-06-12 11:24:41 +08:00
committed by BOT
parent 7a32c84988
commit ee4eed0824
3 changed files with 171 additions and 66 deletions

View File

@@ -307,6 +307,7 @@ void print_uuid(esp_bt_uuid_t *uuid)
uuid->uuid.uuid128[13], uuid->uuid.uuid128[14], uuid->uuid.uuid128[15]);
}
}
#endif /* !CONFIG_BT_NIMBLE_ENABLED */
#if CONFIG_BT_HID_HOST_ENABLED
static void handle_bt_device_result(struct disc_res_param *disc_res)
@@ -654,7 +655,6 @@ static void ble_gap_event_handler(esp_gap_ble_cb_event_t event, esp_ble_gap_cb_p
break;
}
}
#endif
static esp_err_t init_ble_gap(void)
{