S145 SoftDevice for nRF54L15/nRF54L10/nRF54L05 API documentation 10.0.0
Loading...
Searching...
No Matches

◆ sd_ble_gattc_relationships_discover()

uint32_t sd_ble_gattc_relationships_discover ( uint16_t conn_handle,
ble_gattc_handle_range_t const * p_handle_range )

#include <ble_gattc.h>

Initiate or continue a GATT Relationship Discovery procedure.

This function initiates or resumes the Find Included Services sub-procedure. If the last included service has not been reached, this must be called again with an updated handle range to continue the search. See also ble_gattc_opt_uuid_disc_t.

Events generated
BLE_GATTC_EVT_REL_DISC_RSP
Relevant Message Sequence Charts
GATTC Relationship Discovery
Parameters
[in]conn_handleThe connection handle identifying the connection to perform this procedure on.
[in]p_handle_rangeA pointer to the range of handles of the Service to perform this procedure on.
Return values
NRF_SUCCESSSuccessfully started or resumed the Relationship Discovery procedure.
BLE_ERROR_INVALID_CONN_HANDLEInvalid Connection Handle.
NRF_ERROR_INVALID_STATEInvalid Connection State.
NRF_ERROR_INVALID_ADDRInvalid pointer supplied.
NRF_ERROR_INVALID_PARAMInvalid parameter(s) 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.