Using Bluetooth (BLE) 5

plajjd
Posts: 54
Joined: Thu Jul 05, 2018 11:47 pm

Using Bluetooth (BLE) 5

Postby plajjd » Thu Feb 04, 2021 4:46 pm

We are currently using ESP-IDF 3.3, and communicating from ESP32 to an iPad using BLE/GATT. (Using BLE 4.2 on the iPad)

What IDF version is needed to support BLE 5?

We transfer large (1 Meg) files from the iPad to the ESP32 over BLE, and it takes several minutes. I'd like to user BLE 5 on new iPads, hoping that could reduce file transfer time.

Thanks!

Phil.

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

Re: Using Bluetooth (BLE) 5

Postby chegewara » Thu Feb 04, 2021 8:03 pm

esp32 does not support BLE 5. It should be supported in esp32 C3 and S3 and probably in idf 4.5+ or 5.x.
With iOS you can achieve speed about 1MB peer 3 minutes or so.

plajjd
Posts: 54
Joined: Thu Jul 05, 2018 11:47 pm

Re: Using Bluetooth (BLE) 5

Postby plajjd » Thu Feb 04, 2021 10:28 pm

I was referencing this article, from Espressif website, that says they were BLE 5 compliant in Dec 2019.

https://www.espressif.com/en/news/BLE_5.0_Certification

However, I can't find information on what IDF version (or other libraries?) are required to comply.

Any info is appreciated.

Phil.

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

Re: Using Bluetooth (BLE) 5

Postby chegewara » Fri Feb 05, 2021 10:23 am

Well, that certification is only because esp32 is supporting ble mesh.

plajjd
Posts: 54
Joined: Thu Jul 05, 2018 11:47 pm

Re: Using Bluetooth (BLE) 5

Postby plajjd » Fri Feb 05, 2021 5:45 pm

When using an iPad with Bluetooth 4.2, and sending data over BLE/GATT, we get an MTU size of 500, and can send a 1 MB file in around 2.5 minutes.

Are you saying that using an iPad with BT 5.0 really won't speed up the transfer at all, since the ESP32 doesn't have hardware for BT 5?

I was hoping maybe that BLE 5 certification meant there would be ways to increase throughput with a new iPad with BLE 5. I was hoping maybe the latest IDF would allow larger MTU (chunk size)?

Phil.

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

Re: Using Bluetooth (BLE) 5

Postby chegewara » Fri Feb 05, 2021 6:10 pm

Yes, this is what i am saying. esp32 is not having hardware to use BT 5, which requires PHY 2Mbps.

I may be wrong, but as far as i know that iOS is not supporting MTU higher than 185, thats why you have such low transfer speed. With android and MTU 500+ you will need about 1 minute to transfer 1MB file.

plajjd
Posts: 54
Joined: Thu Jul 05, 2018 11:47 pm

Re: Using Bluetooth (BLE) 5

Postby plajjd » Fri Feb 05, 2021 10:10 pm

Thanks!

Who is online

Users browsing this forum: Majestic-12 [Bot] and 429 guests