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 auto port detection feature #14

Open
AmirHmZz opened this issue Jan 11, 2023 · 5 comments
Open

Add auto port detection feature #14

AmirHmZz opened this issue Jan 11, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@AmirHmZz
Copy link
Owner

Accept auto keyword as port in all commands and detect port automatically. This might need to iterate over serial ports and try them one by one.

@AmirHmZz AmirHmZz added the enhancement New feature or request label Jan 11, 2023
@Wind-stormger
Copy link
Contributor

This may not be a very urgently needed feature. 😄

@Wind-stormger
Copy link
Contributor

It's worth mentioning that despite the overlap, the mpremote connect list functionality to list all available ports is necessary.

@AmirHmZz
Copy link
Owner Author

It's worth mentioning that despite the overlap, the mpremote connect list functionality to list all available ports is necessary.

I agree, I will be working on it ...

@Wind-stormger
Copy link
Contributor

I think this automatic connection device function may lead to some bad situations.

For example, someone has connected other serial devices to the computer before connecting the micropython device.

Many serial communication devices not only send information to the host computer, but also receive instructions from the host computer. So far, I don’t know any way to distinguish this device from the micropython device, even if you try one by one. .

The mpremote connect auto command already has this functionality, if you want to keep having the same functionality, just copy it.

Perhaps most people will only connect a micropython device to their computer, and using the automatic connection function is an easy choice.

@AmirHmZz
Copy link
Owner Author

AmirHmZz commented Jan 14, 2023

After #16 I think this feature is not much needed anymore. I will let this open so maybe we decide to implement it one day.

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

No branches or pull requests

2 participants