nkolban / esp32-snippets

Sample ESP32 snippets and code fragments
https://leanpub.com/kolban-ESP32
Apache License 2.0
2.37k stars 710 forks source link

How to configure the number of packets per every BLE connection interval #1172

Open wzqvip opened 1 year ago

wzqvip commented 1 year ago

As the nrf article says: https://jimmywongiot.com/2021/05/14/how-to-configure-the-number-of-packets-per-every-ble-connection-interval/ There should be something as "number of packets per every BLE connection interval".

I also checked Arduino_BLE. Which also doesn't have this param. I'm currently streaming data through two ESP32/ESP32 to android/PC. But I can only achieve about 10kb/s. That should be able to reach 60kb/s on BLE5 with 1M PHY. I have set the maximum MTU, and some connection intervals. But there's serval more params that I did not found.

Refer https://punchthrough.com/ble-throughput-part-4/ Chinese CSDN: ble4.2 for 70kb/s https://blog.csdn.net/u010860832/article/details/97248355

image

I wonder if I can set these params.