- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm building a simple central BLE application, and I read the value of characteristic, with CyBle_GattcReadCharacteristicValue API, the returned value is trimmed to 22 byte length, but the original value (from peripheral) is 24 byte long.
The value sent by peripheral is correct because I can read it with Android App, and with CySmart.
Of course is a my mistake, but I can't find where.
Attached the project
Thanks again for help.
Fabrizio
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have to perform (multiple) "read BLOB request". See these parts: https://community.nxp.com/thread/332030 https://community.nxp.com/thread/332031
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have to perform (multiple) "read BLOB request". See these parts: https://community.nxp.com/thread/332030 https://community.nxp.com/thread/332031
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks you speedycat, your link is very useful.
Now I know why and I'll try some test with CyBle_GattcReadLongCharacteristicValues API.
My first opinion was to change the MTU parameter (without success). Now my doubts are moving to MTU and it's use. But for now, one step a time.
Regards, Fabrizio.