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

show serial interfaces in current macOS versions #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HomeACcessoryKid
Copy link

With Sierra and highSierra the serial ports in macOS have been named
cu.something and tty.something. So for each port there are two
variants. This also applies to bluetooth ports

Could this be changed in the code so serial ports gets shown in macOS
again?

With Sierra and highSierra the serial ports in macOS have been named
cu.something and tty.something.  So for each port there are two
variants. This also applies to bluetooth ports

Could this be changed in the code so serial ports gets shown in macOS
again?
@@ -175,8 +175,8 @@ void XprotolabInterface::checkForAvailableComPorts(){
bool XprotolabInterface::checkIfCorrectPort(QString name){
#ifdef Q_OS_WIN
return name.toLower().startsWith("com");
#elif defined(Q_OS_MAC)
return name.toLower().startsWith("bluetooth");
// #elif defined(Q_OS_MAC)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better surround with #if false && ...

@rzr
Copy link
Collaborator

rzr commented Apr 17, 2020

Please update

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

Successfully merging this pull request may close these issues.

2 participants