Page 1 of 1

ESP32 NimBLE throughput

Posted: Tue Sep 28, 2021 2:53 pm
by kaikeraut
Does anybody have a reference throughput/speed using a nimble BLE stack between two ESP32 boards? Not getting any reference for esp32 nimble stack throughput.

Re: ESP32 NimBLE throughput

Posted: Mon Oct 04, 2021 3:48 pm
by bojankoce
I have the same question.
To the best of my understanding, ESP32 does not support BLE 2MB PHY due to some hardware limitations so the theoretical max we can have is around 700 kbps.
We can play with the connection interval and BLE packet size (MTU) parameters.
ESP32 recommends using NimBLE Host for BLE-only use cases. However, I can't find how to change the connection interval parameter. Preferred MTU size can be defined inside sdkconfig.default file, for example:

Code: Select all

CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU=256