Page 1 of 1

ESP32 SPP vs BLE

Posted: Tue Aug 20, 2019 11:51 pm
by sajeel34
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

Re: ESP32 SPP vs BLE

Posted: Wed Aug 21, 2019 5:02 am
by chegewara
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.

Re: ESP32 SPP vs BLE

Posted: Wed Aug 21, 2019 8:56 am
by sajeel34
Thank you Chegewara for the reply.

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