nrf-softdevice-s112

Crates

git

Versions

default

Flavors

pub unsafe fn sd_ble_gattc_hv_confirm(conn_handle: u16, handle: u16) -> u32
Expand description

@brief Send a Handle Value Confirmation to the GATT Server.

@mscs @mmsc{@ref BLE_GATTC_HVI_MSC} @endmscs

@param[in] conn_handle The connection handle identifying the connection to perform this procedure on. @param[in] handle The handle of the attribute in the indication.

@retval ::NRF_SUCCESS Successfully queued the Handle Value Confirmation for transmission. @retval ::BLE_ERROR_INVALID_CONN_HANDLE Invalid Connection Handle. @retval ::NRF_ERROR_INVALID_STATE Invalid Connection State or no Indication pending to be confirmed. @retval ::BLE_ERROR_INVALID_ATTR_HANDLE Invalid attribute handle. @retval ::NRF_ERROR_TIMEOUT There has been a GATT procedure timeout. No new GATT procedure can be performed without reestablishing the connection.