BLUFI Custom data - is there a size limit?

gc-wesd
Posts: 6
Joined: Mon Jun 26, 2017 1:52 pm

BLUFI Custom data - is there a size limit?

Postby gc-wesd » 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!

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: BLUFI Custom data - is there a size limit?

Postby Ritesh » Sat Jun 22, 2019 10:59 am

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?
Regards,
Ritesh Prajapati

gc-wesd
Posts: 6
Joined: Mon Jun 26, 2017 1:52 pm

Re: BLUFI Custom data - is there a size limit?

Postby gc-wesd » Wed Jun 26, 2019 11:40 am

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

gc-wesd
Posts: 6
Joined: Mon Jun 26, 2017 1:52 pm

Re: BLUFI Custom data - is there a size limit?

Postby gc-wesd » Wed Jun 26, 2019 11:43 am

Further follow-up:

The specific event we use in the Blufi event handler to receive custom data is: ESP_BLUFI_EVENT_RECV_CUSTOM_DATA

Ritesh
Posts: 1365
Joined: Tue Sep 06, 2016 9:37 am
Location: India
Contact:

Re: BLUFI Custom data - is there a size limit?

Postby Ritesh » Thu Jun 27, 2019 12:41 pm

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.
Regards,
Ritesh Prajapati

Who is online

Users browsing this forum: Baidu [Spider] and 128 guests