Hello Nordic team,
I have a central client BLE application on nrf52840 that performs GATT write on another BLE server device. From BLE specifications and from various posts on Nordic Dev Zone, I understand that the BLE client can perform a write of length (ATT_MTU -3) bytes at a time. In my application, I can see that the effective MTU size is set to 23. However, if the BLE client tries to perform a GATT write of 18 , 19 or 20 bytes, a GATT client error is reported with error code 12 (NRF_ERROR_DATA_SIZE ). GATT write is only successful when I try to write data of 17 bytes or lower.
Can you please let me know what could be the possible cause for this issue?
Note that I am using nrf5 SDK for Thread and Zigbee v4.2.0 and using softdevice S140.
Kindly let me know if you need any other details.
Thanks,
Anusha