Page 1 of 1
BLUFI Custom data - is there a size limit?
Posted: Fri Jun 21, 2019 12:12 pm
by gc-wesd
Hello,
We are looking at using the BLUFI Custom Data method to set data in our device on the production line. Looking at the documentation for that I don't see mention of a length limit for data. If we want to send a 4K data blob using that method, will it be received as a single data item or will it be segmented into multiple callbacks?
Thanks!
Re: BLUFI Custom data - is there a size limit?
Posted: Sat Jun 22, 2019 10:59 am
by Ritesh
gc-wesd wrote: ↑Fri Jun 21, 2019 12:12 pm
Hello,
We are looking at using the BLUFI Custom Data method to set data in our device on the production line. Looking at the documentation for that I don't see mention of a length limit for data. If we want to send a 4K data blob using that method, will it be received as a single data item or will it be segmented into multiple callbacks?
Thanks!
Hi,
For custom data, which profile you are using to send data? is there any specific bluetooth profile for that?
Re: BLUFI Custom data - is there a size limit?
Posted: Wed Jun 26, 2019 11:40 am
by gc-wesd
We are using the default ESP Blufi profile.
The ESP-IDF Blufi API has hooks to receive "Custom Data" via a callback handler and to send custom data via the esp_blufi_send_custom_data() function.
Thanks,
Wes
Re: BLUFI Custom data - is there a size limit?
Posted: Wed Jun 26, 2019 11:43 am
by gc-wesd
Further follow-up:
The specific event we use in the Blufi event handler to receive custom data is: ESP_BLUFI_EVENT_RECV_CUSTOM_DATA
Re: BLUFI Custom data - is there a size limit?
Posted: Thu Jun 27, 2019 12:41 pm
by Ritesh
ESP32 SDK Developers,
Would you please confirm above queries from your side? We haven't send any custom data over BLE yet but we are also planning to use it.