S145 SoftDevice for nRF54LM20 API documentation 10.0.0
Loading...
Searching...
No Matches

◆ sd_ble_gattc_attr_info_discover()

uint32_t sd_ble_gattc_attr_info_discover ( uint16_t conn_handle,
ble_gattc_handle_range_t const * p_handle_range )

#include <ble_gattc.h>

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

Events generated
BLE_GATTC_EVT_ATTR_INFO_DISC_RSPGenerated when information about a range of attributes has been received.
Parameters
[in]conn_handleThe connection handle identifying the connection to perform this procedure on.
[in]p_handle_rangeThe range of handles to request information about.
Return values
NRF_SUCCESSSuccessfully started an attribute information discovery procedure.
BLE_ERROR_INVALID_CONN_HANDLEInvalid connection handle.
NRF_ERROR_INVALID_STATEInvalid connection state
NRF_ERROR_INVALID_ADDRInvalid pointer supplied.
NRF_ERROR_BUSYClient procedure already in progress.
NRF_ERROR_TIMEOUTThere has been a GATT procedure timeout. No new GATT procedure can be performed without reestablishing the connection.