Help Needed: Updating BLE Connection Parameters on ESP32-C6
Posted: Tue Dec 10, 2024 12:46 am
MCU: ESP32C6
Framework: Arduino
Current BLE Library: framework-arduinoespressif32/libraries/BLE/src/BLEDevice.h
Hello everyone,
I recently started working on a BLE project where I’m establishing a connection between an nRF52840 (acting as a server/peripheral) and an ESP32-C6 (acting as a client/central). While the connection is stable, I’m facing challenges with updating connection parameters, specifically:
I haven’t found a popular or reliable method for updating BLE connection parameters with this library, and I noticed that NimBLE-Arduino https://github.com/h2zero/NimBLE-Arduino doesn’t yet support the ESP32-C6 (only supports ESP32, ESP32-C3, and ESP32-S3).
Questions:
I’d greatly appreciate any guidance or suggestions, I could really use some help on this topic.
Thank you!
Framework: Arduino
Current BLE Library: framework-arduinoespressif32/libraries/BLE/src/BLEDevice.h
Hello everyone,
I recently started working on a BLE project where I’m establishing a connection between an nRF52840 (acting as a server/peripheral) and an ESP32-C6 (acting as a client/central). While the connection is stable, I’m facing challenges with updating connection parameters, specifically:
- PHY
- Connection Interval
- Data Length
I haven’t found a popular or reliable method for updating BLE connection parameters with this library, and I noticed that NimBLE-Arduino https://github.com/h2zero/NimBLE-Arduino doesn’t yet support the ESP32-C6 (only supports ESP32, ESP32-C3, and ESP32-S3).
Questions:
- Does anyone know how to manage these requests using the BLEDevice library?
- Should I consider using NimBLE C++ instead?
- Should I switch to the Espressif BLE framework (Bluedroid) and integrate it inside my Arduino project? (Although for some reason I am seeing that all the Espressif’s Bluedroid stack use sdkconfig.defaults files for devices like the ESP32-C2, ESP32-C3, and ESP32-S3—but not the ESP32-C6. https://github.com/espressif/esp-idf/tr ... edroid/ble
I’d greatly appreciate any guidance or suggestions, I could really use some help on this topic.
Thank you!