Nimble HCI on esp32-c6

tony@shatalmic.com
Posts: 15
Joined: Sun Dec 16, 2018 4:06 am

Nimble HCI on esp32-c6

Postby tony@shatalmic.com » Thu Sep 26, 2024 4:32 pm

I am getting a compiler error when I try to include esp_nimble_hci.h.

I have run menuconfig and selected the Nimble controller.

I can see on my Mac hard drive that the esp_nimble_hci.h file exists in a folder nimble/esp-hci/include

When I do a verbose build I don't see that folder referenced anywhere.

What do I have to do to fix this?

MicroController
Posts: 1994
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: Nimble HCI on esp32-c6

Postby MicroController » Thu Sep 26, 2024 6:48 pm

tony@shatalmic.com wrote:
Thu Sep 26, 2024 4:32 pm
.What do I have to do to fix this?
Don't try to include/use NimBLE internal APIs ;)
Check out the examples.

tony@shatalmic.com
Posts: 15
Joined: Sun Dec 16, 2018 4:06 am

Re: Nimble HCI on esp32-c6

Postby tony@shatalmic.com » Thu Sep 26, 2024 7:08 pm

That is usually a good idea.

I didn't realize I was using internal apis. I made the mistake of using Github Copilot generated code and it was what included that header.

Being new to Nimble (not BLE), I didn't notice that right off.

Thanks for the great response!!!

Who is online

Users browsing this forum: Bing [Bot] and 85 guests