ESP32-C6 Bluetooth scanner example

Have you seen the link below?

Getting Started with Seeed Studio XIAO ESP32C6 | Seeed Studio Wiki
Section “Software Preparation”