Replies: 5 comments 6 replies
-
Use https://docs.rs/serialport/4.0.1/serialport/ and create a tauri plugin that offers a JS API. |
Beta Was this translation helpful? Give feedback.
-
There seems to be a plugin available here: https://github.com/lzhida/tauri-plugin-serialport |
Beta Was this translation helpful? Give feedback.
-
Doing it in Rust is probably the safest bet as people have mentioned, however there is also a Web Serial API to do it purely browser-side: https://developer.mozilla.org/en-US/docs/Web/API/Web_Serial_API Looks to be supported in Edge (Webview), if WIndows is your target platform: https://caniuse.com/web-serial |
Beta Was this translation helpful? Give feedback.
-
my version for tauri 2 https://github.com/s00d/tauri-plugin-serialplugin |
Beta Was this translation helpful? Give feedback.
-
I can think of two options:
Any advice?
Beta Was this translation helpful? Give feedback.
All reactions