int ble_gatts_find_svc( const ble_uuid_t *uuid, uint16_t *out_handle )
Retrieves the attribute handle associated with a local GATT service.
Parameter | Description |
---|---|
uuid128 | The UUID of the service to look up. |
out_handle | On success, populated with the handle of the service attribute. Pass null if you don't need this value. |
Value | Condition |
---|---|
0 | Success. |
BLE_HS_ENOENT | The specified service could not be found. |