fix(bt/example): Add print the device name to verify if it matches in HID example

This commit is contained in:
yangfeng
2026-07-06 12:10:40 +08:00
parent 61c798000f
commit 059aa4c3f3
2 changed files with 4 additions and 1 deletions
@@ -131,6 +131,9 @@ void hid_demo_task(void *pvParameters)
{
size_t results_len = 0;
esp_hid_scan_result_t *results = NULL;
#if CONFIG_BT_HID_HOST_ENABLED
ESP_LOGI(TAG, "Expected remote device name: %s", remote_device_name);
#endif // CONFIG_BT_HID_HOST_ENABLED
ESP_LOGI(TAG, "SCAN...");
//start scan for HID devices
esp_hid_scan(SCAN_DURATION_SECONDS, &results_len, &results);