Our app uses ESP32/ESPIDF/Bluedroid for BLE connection between a device and a PC. For proper throughput, the connection need to use the Packet Data Length Extension feature (see image below) to avoid fragmentation and reduce transfer rate.
Is it possible for the ESP firmware to query the Bluedroid stack if the connection has this feature enabled or not? This can be done for example using an API function call, or via one of the various event callback handlers of the Bluedroid stack.
How do determine of a BLE connection has Packet Data Length Extension feature enabled?
Re: How do determine of a BLE connection has Packet Data Length Extension feature enabled?
Seems to be related to this mask though I am not sure how to pass the value from the connection to the app.
https://github.com/espressif/esp-idf/bl ... fs.h#L1899
https://github.com/espressif/esp-idf/bl ... fs.h#L1899
Who is online
Users browsing this forum: No registered users and 49 guests