Page 1 of 1

ESP32-C6无法开启uart hci

Posted: Wed Feb 21, 2024 7:16 am
by jingwenliou
开发板:ESP32-C6-DevKitM-1 board
esp-idf:V5.2
我们想用esp-idf里的hci示例把ESP32-C6 的uart口作为hci io,来与pc传递hci消息
当前以后得用例有以下问题:
controller_hci_uart_esp32:
1.可以编译和烧录成功,但是这个貌似支持btdm的芯片,而ESP32-C6只支持ble
2.而是烧录成功后CONTROLLER_UART_HCI打开失败

Code: Select all

[0;33mW (356) BLE_INIT: invalid controller mode[0m
[0;31mE (366) CONTROLLER_UART_HCI: Bluetooth Controller initialize failed: ESP_FAIL[0m
controller_hci_uart_esp32c3_and_esp32s3:

编译不过,espc6 找不到头文件 hal/uhci_ll.h file

所以, 如果我们想要打开ESP32-C6的uart hci,应该怎么操作 ?