pub unsafe extern "C" fn ble_gatts_find_chr(
    svc_uuid: *const ble_uuid_t,
    chr_uuid: *const ble_uuid_t,
    out_def_handle: *mut u16,
    out_val_handle: *mut u16
) -> c_int
Expand description

Retrieves the pair of attribute handles associated with a local GATT characteristic.

@param svc_uuid The UUID of the parent service. @param chr_uuid The UUID of the characteristic to look up. @param out_def_handle On success, populated with the handle of the characteristic definition attribute. Pass null if you don’t need this value. @param out_val_handle On success, populated with the handle of the characteristic value attribute. Pass null if you don’t need this value.

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