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

Probe all USB ports on Darwin #61

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

Conversation

tryuan99
Copy link

@tryuan99 tryuan99 commented Jun 9, 2023

This PR fixes SerialMoteProbe to probe all /dev/tty.usb* ports instead of only /dev/tty.usbserial-* ports.
When I connect an nRF52840-DK board to my M1 mac, the device shows up as /dev/tty.usbmodem0006837436331, which I can confirm belongs to the nRF board.

Example of a log after running openv-server:

23:38:05 WARNING Probing motes: ['/dev/tty.usbserial-100', '/dev/tty.usbserial-101', '/dev/tty.usbmodem0006837436331'] at baudrates [115200]
23:38:09 SUCCESS Discovered serial-port(s): ['/dev/tty.usbserial-101', '/dev/tty.usbmodem0006837436331']
23:38:09 INFO extracting firmware definitions.
23:38:09 VERBOSE extracting firmware component names
23:38:09 VERBOSE extracting firmware log descriptions.
23:38:09 VERBOSE extracting 6top return codes.
23:38:09 VERBOSE extracting 6top states.
23:38:09 SUCCESS connected to broker (argus.paris.inria.fr) for mote on port: /dev/tty.usbserial-101
23:38:10 INFO starting RPC server
23:38:10 SUCCESS connected to broker (argus.paris.inria.fr) for mote on port: /dev/tty.usbmodem0006837436331

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.

None yet

1 participant