nrf-softdevice-s132

Crates

git

Versions

default

Flavors

pub unsafe fn sd_ble_gattc_attr_info_discover(
conn_handle: u16,
p_handle_range: *const ble_gattc_handle_range_t
) -> u32
Expand description

@brief Discovers information about a range of attributes on a GATT server.

@events @event{@ref BLE_GATTC_EVT_ATTR_INFO_DISC_RSP, Generated when information about a range of attributes has been received.} @endevents

@param[in] conn_handle The connection handle identifying the connection to perform this procedure on. @param[in] p_handle_range The range of handles to request information about.

@retval ::NRF_SUCCESS Successfully started an attribute information discovery 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.