ESP32 SPP vs BLE

sajeel34
Posts: 3
Joined: Sat Jun 01, 2019 5:05 pm

ESP32 SPP vs BLE

Postby sajeel34 » Tue Aug 20, 2019 11:51 pm

Hi,

I want to send Neopixel led data(i.e color commands) from mobile application to the esp32 controller over Bluetooth. The data is of 6 Kilo Bytes and it has to be sent after every 3 or 4 seconds. (every time the new color data will be sent)

The role of the esp32 is to just read this burst data and to manipulate and apply color commands accordingly to the led pixels. Moreover i want it to be real time means as i am receiving data, the same time i am applying the color code to the led pixels by using dual core functionality of esp32. ( :? BUT I HAVE NO IDEA ABOUT THIS HOW CAN I DO THIS)

I am confused what should be used either BT SPP or Bluetooth BLE ??

I am new to ESP32 and esp-idf programming so it is getting difficult for me to choose the best way. Please anybody can help me in this regard. I would be really thankful.

Best regards
Sajeel

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

Re: ESP32 SPP vs BLE

Postby chegewara » Wed Aug 21, 2019 5:02 am

Hi,
with BLE you can achieve about 12-13 x ~15-20ms = ~200-250ms to send 6kB. If its not fast enough then you have your answer.

sajeel34
Posts: 3
Joined: Sat Jun 01, 2019 5:05 pm

Re: ESP32 SPP vs BLE

Postby sajeel34 » Wed Aug 21, 2019 8:56 am

Thank you Chegewara for the reply.

I think BT SPP would be good option. Thank you for your time and consideration. Best regards' Sajeel

Who is online

Users browsing this forum: No registered users and 67 guests