tauri_plugin_serialplugin::commands

Function write_binary

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

write write binary content to the specified serial port