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

Auto detect com port on startup #13

Open
Bewgg3 opened this issue Feb 14, 2020 · 3 comments
Open

Auto detect com port on startup #13

Bewgg3 opened this issue Feb 14, 2020 · 3 comments
Labels

Comments

@Bewgg3
Copy link

Bewgg3 commented Feb 14, 2020

Currently the com port is hard coded. Start up would be easier if the com port was Auto detected.

@JoeF140
Copy link
Contributor

JoeF140 commented Feb 15, 2020

@calebthejett
Copy link

Since we should only have one COM port on the computer at a time, would it be possible to enumerate all active COM and just choose the one/ have the user choose? Something like this, haven't read it too thoroughly though:

https://stackoverflow.com/questions/2674048/what-is-proper-way-to-detect-all-available-serial-ports-on-windows

@Bewgg3
Copy link
Author

Bewgg3 commented Feb 15, 2020

https://stackoverflow.com/questions/3293889/how-to-auto-detect-arduino-com-port
It seems possible in C#. Can we do something simular in C++?

Also, would it work to ping all com ports and then just select the port that sends back a message?

JoeF140 added a commit that referenced this issue Feb 21, 2020
Look at previous commit for changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants