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 a device-class condition to libusb connect #31

Open
MartinLoeper opened this issue Feb 21, 2021 · 0 comments
Open

Add a device-class condition to libusb connect #31

MartinLoeper opened this issue Feb 21, 2021 · 0 comments
Labels
enhancement New feature or request p1 We need this feature at Nesto soon.

Comments

@MartinLoeper
Copy link
Member

Currently, it is possible to specify the vendorId and productId of the device to be proxied in DeviceProxy_LibUSB::connect.
We should add a method to select any device which has a specific device class. That way we do not need to change these values for each printer model which will be used in the future.

We want the software to recognize that a newly connected device is a printer (i.e. has a specific device class) and automatically starts using it (hot-plug approach). Other device classes should be ignored.

@MartinLoeper MartinLoeper added enhancement New feature or request p1 We need this feature at Nesto soon. labels Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request p1 We need this feature at Nesto soon.
Projects
None yet
Development

No branches or pull requests

1 participant