riot_sys::bindgen

Function ble_gattc_disc_svc_by_uuid

Source
pub unsafe extern "C" fn ble_gattc_disc_svc_by_uuid(
    conn_handle: u16,
    uuid: *const ble_uuid_t,
    cb: ble_gatt_disc_svc_fn,
    cb_arg: *mut c_void,
) -> c_int
Expand description

Initiates GATT procedure: Discover Primary Service by Service UUID.

@param conn_handle The connection over which to execute the procedure. @param service_uuid128 The 128-bit UUID of the service to discover. @param cb The function to call to report procedure status updates; null for no callback. @param cb_arg The optional argument to pass to the callback function.

@return 0 on success; nonzero on failure.