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

Single USB-connected Tessel should be selected when "--usb" specified #379

Closed
flaki opened this issue Oct 17, 2015 · 2 comments
Closed

Single USB-connected Tessel should be selected when "--usb" specified #379

flaki opened this issue Oct 17, 2015 · 2 comments

Comments

@flaki
Copy link

flaki commented Oct 17, 2015

Now when I only have several Tessels around, but only a single one connected over USB:

flaki$ t2 list
INFO Searching for nearby Tessels...
    tessel-europe   USB 
    hip-hardware    LAN (USB connect and run `tessel provision` to authorize)
    JonnyTessel LAN (USB connect and run `tessel provision` to authorize)
    navi    LAN (USB connect and run `tessel provision` to authorize)
INFO Multiple Tessels found.
INFO Set default Tessel with environment variable (e.g. 'export TESSEL=bulbasaur') or use the --name flag.

...specifying --usb returns a "Multiple possible Tessel connections found." error, while in reality there is only a single one connected via USB:

flaki$ t2 wifi --usb -l
INFO Looking for your Tessel...
INFO Please specify a Tessel by name [--name <tessel name>]
WARN Multiple possible Tessel connections found.
@johnnyman727
Copy link
Contributor

This is definitely an issue with the runHeuristics function that controller.js uses to figure out which Tessel you want.

@johnnyman727
Copy link
Contributor

Fixed with #360.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants