Good afternoon,
I'm using nRF52840 with SDK15 and Softdevice6.0.0.
I'm using the Queued Write Service Module to make use of a characteristic able to receive up to 510bytes of data.
I tested the queued write service through the ble_app_queued_writes with NRF_BLE_QWRS_MAX_RCV_SIZE = 510 and MEM_BUFF_SIZE = 686 and it works OK when trying to write data through nRFConnect with 21-510bytes size.
When I integrate exactly the same code on my application I had to set NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE to a minimum of 1832 and increase the RAM size respectively to avoid NRF_ERROR_NO_MEM as I have 6 more services with 1-6 characteristics each. Yet, when attempting to write data through the queued write characteristic through nRFConnect the app keeps spinning until it timeouts, no matter the size of the data I to write. Do you have any idea why this is happening and can you please help me solve this issue?
Also, I want to be able to write data <20bytes through the same characteristic. Is there any way to achieve this?
Thank you,
João