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

Queued write module

Hi,

I configured nrf_ble_qwr to use 256 byte long buffer in my BLE peripheral. I registered my value handles (2) which I want to support long writes using nrf_ble_qwr_attr_register. I set NRF_BLE_QWR_MAX_ATTR = 2. On connected event I assign connection handle using nrf_ble_qwr_conn_handle_assign.

Still, I don't receive any event from nrf_ble_qwr in my callback (qwr_init.callback).

When I perform long write of total size less than 256 bytes from BLE central to my peripheral, nrf_ble_qwr module receives BLE_EVT_USER_MEM_REQUEST and after that  BLE_EVT_USER_MEM_RELEASE events and no event is propagated to my application.

How to use nrf_ble_qwr? I saw examples\ble_peripheral\experimental\ble_app_queued_writes .I use latest SDK.

Parents Reply Children
No Data
Related