tokio-serial
tokio-serial copied to clipboard
"Invalid data bits setting encountered" while opening the native async
Dear all,
I am having trouble running the project's example using the correct settings on my Windows 10 host to an ESP32-C6
device. I have a device connected to COM3, baud: 115200, data bits: 8, no flow control and 1 stop bit. When I try to run the example, it returns the error as follows: Error: Error { kind: Unknown, description: "Invalid data bits setting encountered" }
from the open_native_async. When I open the port using open_native, it opens fine without error.
If I can give any extra information, please let me know. Thank you very much in advance.
Just tried it on my Linux machine and the async example worked perfectly. It seems to be a windows specific issue.