![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_qwr_attr_register | ( | struct ble_qwr * | qwr, |
| uint16_t | attr_handle ) |
#include <ble_qwr.h>
Function for registering an attribute with the Queued Writes module.
Call this function for each attribute that you want to enable for Queued Writes (thus a series of prepare write and execute write operations).
| [in] | qwr | Queued Writes structure. |
| [in] | attr_handle | Handle of the attribute to register. |
| NRF_SUCCESS | If the registration was successful. |
| NRF_ERROR_NO_MEM | If no more memory is available to add this registration. |
| NRF_ERROR_NULL | If qwr is NULL. |
| NRF_ERROR_INVALID_STATE | If the given qwr instance has not been initialized. |