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

Add autodiscovery of serial ports #187

Open
Andrey1994 opened this issue Dec 24, 2020 · 3 comments
Open

Add autodiscovery of serial ports #187

Andrey1994 opened this issue Dec 24, 2020 · 3 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Andrey1994
Copy link
Member

No description provided.

@Andrey1994 Andrey1994 added enhancement New feature or request good first issue Good for newcomers labels Dec 24, 2020
@Andrey1994 Andrey1994 changed the title Add autodiscovery of serial ports for Cyton and Ganglion Add autodiscovery of serial ports Jun 3, 2022
@ankur-gupta-29
Copy link

Hi I want to solve this problem .can you want little help from you.How can I proceed for this issue.and explain little more about this problem .

@Andrey1994
Copy link
Member Author

Sure and thanks!

There are some boards where we have to provide serial port via BrainFlowInputParams struct, e.g. cyton, freeeeg32, ganglion

If its not provided we return an error.

Instead error we can try to find serial port automatically, and it should be done for all 3 OSes

@MaxMascini
Copy link

MaxMascini commented Nov 13, 2024

Any updates on this issue?

I've tinkered on it a bit and while searching through serial ports I keep getting an issue when trying to connect immediately after finding a compatible port where i often get:

[2024-11-13 18:12:43.919] [board_logger] [error] board doesnt send welcome characters! Msg: BOARD_NOT_READY_ERROR:7

Sometimes it connects successfully, but the issue I'm having is for hyperscanning purposes where I'm trying to scan ports for and connect two boards within the same script. Occasionally both will successfully connect, but it is very inconsistent.

Any ideas?

This is using OpenBCI Cyton Board(s), Windows 11, brainflow==5.14.0.

Update - instead of connecting to every available port to find those compatible, I instead opted to assume that if the port matches the VID/PID of the board it is compatible. This makes it much faster however the issue mentioned above is still occurring. - Is there a place where all of the Brainflow compatible device PID/VIDs can be accessed for this purpose?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants