Search found 15 matches

by tony@shatalmic.com
Thu Sep 26, 2024 7:08 pm
Forum: ESP-IDF
Topic: Nimble HCI on esp32-c6
Replies: 2
Views: 1639

Re: Nimble HCI on esp32-c6

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!!!
by tony@shatalmic.com
Thu Sep 26, 2024 4:32 pm
Forum: ESP-IDF
Topic: Nimble HCI on esp32-c6
Replies: 2
Views: 1639

Nimble HCI on esp32-c6

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 anywher...
by tony@shatalmic.com
Thu Sep 26, 2024 4:19 pm
Forum: ESP-IDF
Topic: fatal error: esp_nimble_hci.h: No such file or directory
Replies: 2
Views: 3294

Re: fatal error: esp_nimble_hci.h: No such file or directory

I am getting this error, but have enabled the nimble hci controller in menuconfig. What else could be the issue? How does that mechanism work of tying the menuconfig to the sdkconfig? As far as I can tell the sdkconfig is also correct. The Nimble stuff is all enable. I even located the file on my Ma...
by tony@shatalmic.com
Wed Feb 07, 2024 11:43 pm
Forum: General Discussion
Topic: BLE Certification
Replies: 6
Views: 5497

BLE Certification

I would like to be able to use the Bluetooth Logo. The Bluetooth SiG has informed us that we need the esp32-wroom-32d QDID number. The number we gave them they said was the Controller Subsystem QDID and that we also need a Host Subsystem QDID. I have not been able to find a Host Subsystem QDID for t...
by tony@shatalmic.com
Mon Sep 23, 2019 8:00 pm
Forum: ESP32 Arduino
Topic: Flash and RAM Usage Information from Build
Replies: 0
Views: 2057

Flash and RAM Usage Information from Build

My code size takes up 99% of the flash and when I run I often get out or memory errors when the wifi tries to allocate memory. I would like to figure out where all the code and RAM is being used. My app isn't really that big, but I do use several libraries. Can someone tell me a good way to profile ...
by tony@shatalmic.com
Tue Sep 17, 2019 8:52 pm
Forum: ESP32 Arduino
Topic: Server versus Client Connect and Disconnect Callbacks
Replies: 8
Views: 10139

Re: Server versus Client Connect and Disconnect Callbacks

Thank you. I will give that a try.
by tony@shatalmic.com
Tue Sep 17, 2019 8:24 pm
Forum: ESP32 Arduino
Topic: Server versus Client Connect and Disconnect Callbacks
Replies: 8
Views: 10139

Re: Server versus Client Connect and Disconnect Callbacks

I just saw your reply. Not getting emails for some reason.

Anyway, I am not sure what you want me to try. You just show 2 files that are very different. What do you mean by "try to add here" "this same code"? I don't see anything highlighted to add or move from one file to the other.
by tony@shatalmic.com
Mon Sep 09, 2019 11:42 pm
Forum: ESP32 Arduino
Topic: Server versus Client Connect and Disconnect Callbacks
Replies: 8
Views: 10139

Re: Server versus Client Connect and Disconnect Callbacks

So I added the following code: void my_gatts_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gattc_if, esp_ble_gatts_cb_param_t* param) { Serial.print("server: esp_gatts_cb_event_t "); Serial.print(event); Serial.print(" esp_gatt_if_t "); Serial.print(gattc_if); if (param == NULL) Serial.pri...
by tony@shatalmic.com
Fri Sep 06, 2019 3:13 pm
Forum: ESP32 Arduino
Topic: Server versus Client Connect and Disconnect Callbacks
Replies: 8
Views: 10139

Re: Server versus Client Connect and Disconnect Callbacks

I have a little more information for you. I added a log output to both the server and client disconnect where the event is coming in and they both get fired. If you can point me to somewhere I might be able to look to solve this I am happy to dig into it. It is rather important and I know you are bu...
by tony@shatalmic.com
Fri Sep 06, 2019 12:16 am
Forum: ESP32 Arduino
Topic: Server versus Client Connect and Disconnect Callbacks
Replies: 8
Views: 10139

Server versus Client Connect and Disconnect Callbacks

I have an Adafruit Huzzah32 device. I am writing an app that both acts as a peripheral to allow a mobile app to connect to it and at the same time is able to connect to a device to get data from it. I have the code all working. It includes setting up server callbacks by creating my own class derived...