![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_qwr_conn_handle_assign | ( | struct ble_qwr * | qwr, |
| uint16_t | conn_handle ) |
#include <ble_qwr.h>
Function for assigning a connection handle to an instance of the Queued Writes module.
Call this function when a link with a peer has been established to associate this link to the instance of the module. This makes it possible to handle several links and associate each link to a particular instance of this module.
| [in] | qwr | Queued Writes structure. |
| [in] | conn_handle | Connection handle to be associated with the given Queued Writes instance. |
| NRF_SUCCESS | If the assignment was successful. |
| NRF_ERROR_NULL | If qwr is NULL. |
| NRF_ERROR_INVALID_STATE | If the given qwr instance has not been initialized. |