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

BLE Characteristics write data Issue

Hi, I want to write 510 bytes of data to my BLE Characteristics, so I set parameters ble_gatts_attr_t max_len as 510 and its variable length attribute. Also I set  NRF_SDH_BLE_GATT_MAX_MTU_SIZE as 512. I observed below things:

- When I send data length of 510 or more, I am receiving only 507.

- When I send data length of 509, I am receiving correct data length 509.

I am not not able to find issue. Any suggestions?

Thanks

Related