riot_sys

Function ble_gattc_read_long

Source
pub unsafe extern "C" fn ble_gattc_read_long(
    conn_handle: u16,
    handle: u16,
    offset: u16,
    cb: ble_gatt_attr_fn,
    cb_arg: *mut c_void,
) -> c_int
Expand description

Initiates GATT procedure: Read Long Characteristic Values.

@param conn_handle The connection over which to execute the procedure. @param handle The handle of the characteristic value to read. @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.