ble_gatts_find_svc

int
ble_gatts_find_svc(
    const ble_uuid_t *uuid,
            uint16_t *out_handle
)

Description

Retrieves the attribute handle associated with a local GATT service.

Parameters

ParameterDescription
uuid128The UUID of the service to look up.
out_handleOn success, populated with the handle of the service attribute. Pass null if you don't need this value.

Returned values

ValueCondition
0Success.
BLE_HS_ENOENTThe specified service could not be found.