BCM920737 how to send large data over ble in chunks

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

We are using BCM920737 board and sample application of long_charecteristic.

how to send large data over ble in chunks. Can you please point to some sample applications.

Request for help as early as possible.

Thanks

Ravitej

0 Likes
3 Replies
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

The large_characteristic sample is the sample application we provide for sending large chunks of data.

This sample app demonstrates how to read and write values to a characteristic value larger than 512 octets in length.

0 Likes
Anonymous
Not applicable

Hi,

Thanks for the reply.

Can you please point to any sample app which notifies large data. I mean using notify characteristics.

I have referred long_characteristic sample.Any code snippets will also help.


The sample App Speed_test i have referred to but it seems the notifications are not working on iOS End.

Please help us as early as possible.


Thanks

Ravitej

0 Likes
Anonymous
Not applicable

Hello Bhagi,

1.  Notifications are only 20 bytes allowed by the BLE Spec.

2.  If you want "long" notifications, you can send multiple notifications

3.  Notifications do not necessarily need to contain any characteristics

4.  The methodology works like this

     a.  Notifications are sent about a change about a characteristic with a handle of the characteristics.

     b.  It is up to the application to send the data for the characteristics in the notification or it can send meta data in the notification for the characteristics

     c.  So if you want a notification of 512 bytes,

     d.  You send a notification for that handle and on the client side, you do a BLOB Read of the characteristics

Hope this helps

JT

0 Likes