![]() |
S115 SoftDevice for nRF54LS05 API documentation 10.0.0
|
| uint32_t sd_ble_gatts_rw_authorize_reply | ( | uint16_t | conn_handle, |
| ble_gatts_rw_authorize_reply_params_t const * | p_rw_authorize_reply_params ) |
#include <ble_gatts.h>
Respond to a Read/Write authorization request.
| [in] | conn_handle | Connection handle. |
| [in] | p_rw_authorize_reply_params | Pointer to a structure with the attribute provided by the application. |
| NRF_SUCCESS | Successfully queued a response to the peer, and in the case of a write operation, Attribute Table updated. |
| BLE_ERROR_INVALID_CONN_HANDLE | Invalid Connection Handle. |
| NRF_ERROR_BUSY | The stack is busy, process pending events and retry. |
| NRF_ERROR_INVALID_ADDR | Invalid pointer supplied. |
| NRF_ERROR_INVALID_STATE | Invalid Connection State or no authorization request pending. |
| NRF_ERROR_INVALID_PARAM | Authorization op invalid, handle supplied does not match requested handle, or invalid data to be written provided by the application. |
| NRF_ERROR_TIMEOUT | There has been a GATT procedure timeout. No new GATT procedure can be performed without reestablishing the connection. |