ESP32 Bluedroid Connection parameters for maximum transfer speed

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

ESP32 Bluedroid Connection parameters for maximum transfer speed

Postby kaikeraut » Wed Oct 20, 2021 12:09 pm

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.

chegewara
Posts: 2378
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32 Bluedroid Connection parameters for maximum transfer speed

Postby chegewara » 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.

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

Re: ESP32 Bluedroid Connection parameters for maximum transfer speed

Postby kaikeraut » Thu Oct 28, 2021 5:02 am

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.

Who is online

Users browsing this forum: No registered users and 55 guests