tauri_plugin_serialplugin::commands

Function write

source
pub fn write<R: Runtime>(
    _app: AppHandle<R>,
    _window: Window<R>,
    state: State<'_, SerialportState>,
    path: String,
    value: String,
) -> Result<usize, Error>
Expand description

write writes to the specified serial port