Any support for long characteristic value reads and writes by app?

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

cross mob
Anonymous
Not applicable

I can create a gatt database with a characteristic value with length 150 bytes. I can then read that value over Bluetooth link with a competing BLE chipset to verify that the database is setup and working correctly. But within the app, I can only find bleprofile_ReadHandle() and bleprofile_WriteHandle() to read and update the gatt database, and the bleprofile_WriteHandle() seems to cause the processor to crash when I try to update a 150 byte characteristic value. Is there any support for long characteristic value read/writes from the app point of view? What is the maximum length characteristic value that is supported?

Using the Broadcom 20732 chip.

0 Likes
1 Solution

Yes, this is the only option in the current version of the SDK.

View solution in original post

4 Replies
Anonymous
Not applicable

Hi,

I am running into the same problem. Have any one found out why yet? Thanks.

0 Likes

The supporting code for reading and writing the GATT database is currently 22 bytes.  

0 Likes
Anonymous
Not applicable

Thanks, if I have let say 128 byte coming in from UART, how would I handle that to send it out to device? Should I split them up?

0 Likes

Yes, this is the only option in the current version of the SDK.