[][src]Function apache_nimble_sys::ble_gattc_write_flat

pub unsafe extern "C" fn ble_gattc_write_flat(
    conn_handle: u16,
    attr_handle: u16,
    data: *const c_void,
    data_len: u16,
    cb: ble_gatt_attr_fn,
    cb_arg: *mut c_void
) -> c_int

Initiates GATT procedure: Write Characteristic Value (flat buffer version).

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