riot_sys

Function ble_gatts_find_svc

Source
pub unsafe extern "C" fn ble_gatts_find_svc(
    uuid: *const ble_uuid_t,
    out_handle: *mut u16,
) -> c_int
Expand description

Retrieves the attribute handle associated with a local GATT service.

@param uuid The UUID of the service to look up. @param out_handle On success, populated with the handle of the service attribute. Pass null if you don’t need this value.

@return 0 on success; BLE_HS_ENOENT if the specified service could not be found.