Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Invalid data bits setting encountered" while opening the native async #71

Open
DerAndereJohannes opened this issue Mar 11, 2024 · 2 comments

Comments

@DerAndereJohannes
Copy link

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.

@DerAndereJohannes
Copy link
Author

Just tried it on my Linux machine and the async example worked perfectly. It seems to be a windows specific issue.

@NonayMete
Copy link

I am having the exact same issue with an ESP32-C3, cannot figure out what is causing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants