Page 1 of 1

ESP32 Bluedroid Connection parameters for maximum transfer speed

Posted: Wed Oct 20, 2021 12:09 pm
by kaikeraut
I am using Bluedroid Stack (BLE) and Communicating with Mobile App(Newly developed),
transferring the 500 KB data takes a lot of time(15 mints) - GATT profile.

MTU size configured: 512
Connection parameters:
latency: 0
max_int: 0x20
min_int: 0x10
timeout: 400

please suggest how to improve the transfer speed and ways to check (tools) to see if the problem is ESP32 side or Mobile App side.
where optimization requires.

Re: ESP32 Bluedroid Connection parameters for maximum transfer speed

Posted: Thu Oct 21, 2021 11:27 pm
by chegewara
If it takes 15 mins then its problem. That much data should be transferred under 30 sec or so assuming that MTU is setup correctly.

Ive got similar problem once, but it was ble mesh project, so ble has been used extensively and ive been doing OTA over ble at the same time.

Re: ESP32 Bluedroid Connection parameters for maximum transfer speed

Posted: Thu Oct 28, 2021 5:02 am
by kaikeraut
chegewara wrote:
Thu Oct 21, 2021 11:27 pm
If it takes 15 mins then its problem. That much data should be transferred under 30 sec or so assuming that MTU is setup correctly.

Ive got similar problem once, but it was ble mesh project, so ble has been used extensively and ive been doing OTA over ble at the same time.
Do you have any example projects which do the OTA? I am developing from scratch using on visual studio code. Not using the Arduino based projects.