I found the solution when I comment out this line:
//esp_nimble_hci_init();
Now it works.
Search found 5 matches
- Fri Aug 16, 2024 8:20 pm
- Forum: ESP-IDF
- Topic: ESP32-C6 nimble not working same code works ith ESP32-S3
- Replies: 2
- Views: 973
- Wed Aug 14, 2024 2:49 pm
- Forum: ESP-IDF
- Topic: Cannot specify include directories for target "__idf_tinyusb"
- Replies: 1
- Views: 885
Re: Cannot specify include directories for target "__idf_tinyusb"
Can you check the file CMakeLists.txt where your main.c is, it should have espressif__tinyusb in it.
content of CMakeLists.tx :
idf_component_register(SRCS "main.c"
INCLUDE_DIRS "."
REQUIRES bt espressif__tinyusb p nvs_flash)
content of CMakeLists.tx :
idf_component_register(SRCS "main.c"
INCLUDE_DIRS "."
REQUIRES bt espressif__tinyusb p nvs_flash)
Re: ESP32S3
Where is the boot button? A lot of times the IO 0 is used to but the ESP32-S3 into boot mode then Windows will recognize the USB port as a COM port. Here can find an example: https://learn.adafruit.com/assets/112329
- Wed Aug 14, 2024 2:30 pm
- Forum: Sample Code
- Topic: BLE to BLE
- Replies: 1
- Views: 7688
Re: BLE to BLE
Yes go into menuconfig: idf.py menuconfig Component config ---> Bluetooth ----> Host (NimBLE - BLE only) ---> (X) NimBLE - BLE only NimBLE Options ---> change (3) Maximum number of concurrent connections (NEW) 3 into 1 (Top) → Component config → Bluetooth → NimBLE Options Espressif IoT Development F...
- Wed Aug 14, 2024 11:28 am
- Forum: ESP-IDF
- Topic: ESP32-C6 nimble not working same code works ith ESP32-S3
- Replies: 2
- Views: 973
ESP32-C6 nimble not working same code works ith ESP32-S3
I get an error when I compile for the ESP32-C6 chip the same code works for the ESP32-S3. Is it a known problem? here is the error: C:/Espressif/frameworks/esp-idf-v5.2.1/examples/Brainwave/ESP32C6_Test_LED_BLE_nimble/main/main.c:8:10: fatal error: esp_nimble_hci.h: No such file or directory 8 | #in...