is it possible to send 2KB data over BLE..?

ningappa BS
Posts: 51
Joined: Sat Mar 17, 2018 4:49 am

is it possible to send 2KB data over BLE..?

Postby ningappa BS » Wed Jan 23, 2019 9:28 am

Hi,

Am using BLE where we are sending large data and we are receiving only 514 bytes, more than that is truncated but i want all data without loss. Is it possible to achieve requirement..? if yes, how to achieve any suggestion can be appreciated.

Thanks,

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

Re: is it possible to send 2KB data over BLE..?

Postby chegewara » Fri Jan 25, 2019 8:09 pm

Yes, it is possible but you have to send data in smaller packets and then concatenate when you read/receive all data.

ningappa BS
Posts: 51
Joined: Sat Mar 17, 2018 4:49 am

Re: is it possible to send 2KB data over BLE..?

Postby ningappa BS » Mon Jan 28, 2019 4:52 am

hi,

thanks for reply, you mean we need to make smaller packet while sending from android app and how do we make smaller packet and how to concatenate them could you please explain bit more.

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

Re: is it possible to send 2KB data over BLE..?

Postby chegewara » Mon Jan 28, 2019 9:31 am

This is not exactly what you need, but in this code snippet you can see how i am sending large file with notifications
https://github.com/espressif/arduino-es ... -447420118

Who is online

Users browsing this forum: No registered users and 137 guests