nrf-softdevice-s113

Crates

git

Versions

default

Flavors

pub unsafe fn sd_ble_gattc_char_values_read(
conn_handle: u16,
p_handles: *const u16,
handle_count: u16
) -> u32
Expand description

@brief Initiate a GATT Read Multiple Characteristic Values procedure.

@details This function initiates a GATT Read Multiple Characteristic Values procedure.

@events @event{@ref BLE_GATTC_EVT_CHAR_VALS_READ_RSP} @endevents

@mscs @mmsc{@ref BLE_GATTC_READ_MULT_MSC} @endmscs

@param[in] conn_handle The connection handle identifying the connection to perform this procedure on. @param[in] p_handles A pointer to the handle(s) of the attribute(s) to be read. @param[in] handle_count The number of handles in p_handles.

@retval ::NRF_SUCCESS Successfully started the Read Multiple Characteristic Values procedure. @retval ::BLE_ERROR_INVALID_CONN_HANDLE Invalid Connection Handle. @retval ::NRF_ERROR_INVALID_STATE Invalid Connection State. @retval ::NRF_ERROR_INVALID_ADDR Invalid pointer supplied. @retval ::NRF_ERROR_BUSY Client procedure already in progress. @retval ::NRF_ERROR_TIMEOUT There has been a GATT procedure timeout. No new GATT procedure can be performed without reestablishing the connection.