mik3y / usb-serial-for-android

Android USB host serial driver library for CDC, FTDI, Arduino and other devices.
MIT License
4.81k stars 1.58k forks source link

Limit app to work only a specific device only #522

Closed e4basil closed 1 year ago

e4basil commented 1 year ago

Is there any way to limit the app will support only a specific device only?

kai-morich commented 1 year ago

yes, see last sentence here, or use only a CustomProber with fixed VID/PID instead of getDefaultProber