diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/main/main.c b/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/main/main.c index e1a49205d46..d4db651a60b 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/main/main.c +++ b/examples/bluetooth/bluedroid/classic_bt/bt_hid_mouse_device/main/main.c @@ -435,7 +435,7 @@ void app_main(void) return; } - ESP_LOGI(TAG, "setting device name"); + ESP_LOGI(TAG, "setting device name: %s", local_device_name); esp_bt_gap_set_device_name(local_device_name); ESP_LOGI(TAG, "setting cod major, peripheral"); diff --git a/examples/bluetooth/esp_hid_host/main/esp_hid_host_main.c b/examples/bluetooth/esp_hid_host/main/esp_hid_host_main.c index ab9d8aa21eb..0f1bfb77010 100644 --- a/examples/bluetooth/esp_hid_host/main/esp_hid_host_main.c +++ b/examples/bluetooth/esp_hid_host/main/esp_hid_host_main.c @@ -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);