ble_gatts_find_dsc

int
ble_gatts_find_dsc(
    const ble_uuid_t *svc_uuid,
    const ble_uuid_t *chr_uuid,
    const ble_uuid_t *dsc_uuid,
            uint16_t *out_handle
)

Description

Retrieves the attribute handle associated with a local GATT descriptor.

Parameters

ParameterDescription
svc_uuid128The UUID of the grandparent service.
chr_uuid128The UUID of the parent characteristic.
dsc_uuid128The UUID of the descriptor ro look up.
out_handleOn success, populated with the handle of the descripytor attribute. Pass null if you don't need this value.

Returned values

ValueCondition
0Success.
BLE_HS_ENOENTThe specified service, characteristic, or descriptor could not be found.