Skip to content

Provide a way to query only usb boards #92

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

Closed
hgrecco opened this issue Nov 21, 2018 · 3 comments
Closed

Provide a way to query only usb boards #92

hgrecco opened this issue Nov 21, 2018 · 3 comments
Labels
type: enhancement Proposed improvement

Comments

@hgrecco
Copy link

hgrecco commented Nov 21, 2018

In many cases I know that my arduino board is connected via USB (not network). It seems that is currently not possible to look only for usb boards using arduino-cli board list. This would be convenient to reduce the discovery time.

@gvarisco gvarisco added the type: enhancement Proposed improvement label Dec 11, 2018
@flatsiedatsie
Copy link

flatsiedatsie commented Dec 24, 2018

This would also make me very happy. I have developed a small web-based tool around the Arduino-CLI, and this option would make things more predictable. In the interface users are prompted to plug in their arduino. It would be odd if network based devices could 'magically' show up without them having plugged anything into the USB port yet.

@cmaglie
Copy link
Member

cmaglie commented Sep 12, 2019

at the moment the network discovery is disabled. Will keep the issue open for when the network/pluggable discovery will be re-added.

see #344

per1234 pushed a commit that referenced this issue Nov 16, 2020
Encapsulate provision of time within one single object
@per1234 per1234 reopened this Mar 30, 2021
per1234 added a commit that referenced this issue Aug 9, 2021
@umbynos
Copy link
Contributor

umbynos commented Oct 12, 2022

In the meantime we added back the network discovery, the defualt discovery timout is 1 second, but if you like you can specify it with --discovery-timeout flag. For example arduino-cli board list --discovery-timeout 0.1s this is really fast.

@umbynos umbynos closed this as completed Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

6 participants