ESP32 NimBLE throughput

kaikeraut
Posts: 7
Joined: Tue Sep 14, 2021 7:16 am

ESP32 NimBLE throughput

Postby kaikeraut » Tue Sep 28, 2021 2:53 pm

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.

bojankoce
Posts: 4
Joined: Fri Jul 03, 2020 12:51 pm

Re: ESP32 NimBLE throughput

Postby bojankoce » Mon Oct 04, 2021 3:48 pm

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

Who is online

Users browsing this forum: No registered users and 147 guests