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

evt_write values after 'long write'?

Hi, I have implemented the support for 'long write' as in github.com/.../ble_app_hrs---LongWrite

which works from the MCP... except that on BLE_GATTS_EVT_WRITE, it seems that the evt_write->handle is zero after the write is completed if I send > 20 bytes.

If I write just a few bytes, I do get the correct event with the expected p_evt_write->handle

When I send more, the data is there, safe and sound if I look in the location passed in attr_char_value.p_value but ->handle seems to be zero.

But I'm not sure where to look to see that I'm being notified that the write is complete.

s110_nRF51_8.0.0 (Id: 0x0064).

Thanks for any thoughts.

Related