riot_sys::bindgen

Function ble_gattc_disc_all_chrs

Source
pub unsafe extern "C" fn ble_gattc_disc_all_chrs(
    conn_handle: u16,
    start_handle: u16,
    end_handle: u16,
    cb: ble_gatt_chr_fn,
    cb_arg: *mut c_void,
) -> c_int
Expand description

Initiates GATT procedure: Discover All Characteristics of a Service.

@param conn_handle The connection over which to execute the procedure. @param start_handle The handle to begin the search at (generally the service definition handle). @param end_handle The handle to end the search at (generally the last handle in the service). @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.