This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Long Write once more

Hello,

I need to send packets that are larger than 20 bytes to once characteristic with a variable length. When I set the variable length to 100 bytes, the Attribute table size grows. As far as I can see from the message sequence charts (Is there really no comprehensive documentation available that details the writing and reading procedures in a good textual form??), the application will have to handle a BLE_USER_MEM_REQUEST event to provide memory for the operation. Now, my question is, why do I need to provide additional memory? Isn't the write performed to the attribute table? Or is this memory not used because the peer device might cancel the operation? I do not really need to have a consistent content in the attribute, because I only use the attribute to transfer data. Can I reuse this space?

Thanks, Marius

Parents Reply Children
No Data
Related