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

feature: filter by vendor id #161

Open
noopkat opened this issue Jul 8, 2018 · 1 comment
Open

feature: filter by vendor id #161

noopkat opened this issue Jul 8, 2018 · 1 comment

Comments

@noopkat
Copy link
Owner

noopkat commented Jul 8, 2018

Issue Template

Description

We ran into a product id collision recently. This means that some boards might be mistaken for others as a result. Given that we already store vendor id's for every board, we should start using them when 'sniffing' ports to autolocate plugged in boards.

Expected behaviour

All boards should be able to have unique 'footprints' based on product id

Actual behaviour

Boards so not actually have to have unique product ids, so some collisions can occur and did occur.

Operating system and version

All

Avrgirl Arduino version

2.2.10

Arduino Board being used

Uno, which had a collision with a Adafruit Feather Huzzah 8266 board.

Step by step guide to reproducing the issue

Have both Uno and Adafruit Feather Huzzah 8266 boards plugged in with the same product id, and a collision may occur where the autolocator chooses the first result it finds which could be the Adafruit Feather Huzzah 8266 (wrong choice).

@nandub
Copy link
Contributor

nandub commented May 13, 2019

@noopkat I just noticed this issue. About this "Given that we already store vendor id's for every board" on the description I think you meant to say productId. Currently avrgirl-arduino uses productId only, but we should be able to fix that by implementing #162, which is a WIP, we also need code to lookup by vendorId since I'm not familiar with the code I'm not sure where to start to add that.

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

No branches or pull requests

2 participants