Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

The number of queued write modules in ble_app_hrs_rscs_relay application

In the ble_app_hrs_rscs_relay application, three ( NRF_SDH_BLE_TOTAL_LINK_COUNT=3) queued write modules are generated.

(one for a peripheral (server) role and two for two central(client) role)

As far as I know, queued write module is used in a server.

However, in the ble_app_hrs_rscs_relay application, a queued write module is assigned when the node is connected to a peripheral  as a central.

I would appreciate it if you could explain what a queued write module is used for in the role of a client.

Thanks in advance.

Parents
  • Hello,

    The Queued Writes module is used by GATT Servers to handle queued write requests coming from connected GATT Clients, so I agree, it seems like it should have been sufficient to allocate only one QWR instance in this case.

    Have you tried to change this is your code? For this to work, you will also have to change the code so that nrf_ble_qwr_conn_handle_assign() is only assigning the connection handle for the connection to the Central device.

    Best regards,

    Vidar

Reply
  • Hello,

    The Queued Writes module is used by GATT Servers to handle queued write requests coming from connected GATT Clients, so I agree, it seems like it should have been sufficient to allocate only one QWR instance in this case.

    Have you tried to change this is your code? For this to work, you will also have to change the code so that nrf_ble_qwr_conn_handle_assign() is only assigning the connection handle for the connection to the Central device.

    Best regards,

    Vidar

Children
No Data
Related