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

Long Attribute Values: writing to values larger than ATT_MTU

Hi

According to BT 4.2 Spec Vol 6, Part F, Section 3.2.9:-

" To write the entire value of an attribute larger than (ATT_MTU-3) octets, the prepare write request and execute write request is used. It is possible to write the first (ATT_MTU-3) octets of a long attribute value using the write request".

Does the nordic softdevice have a function that performs the "prepare write request and execute write request" mentioned above? We have tried using the normal sd_ble_gattc_write() trying to write a value larger than ATT_MTU-3 and got the error NRF_ERROR_DATA_SIZE.

We are using S132 v3.0.0 on an nRF52.

Thanks

Related