Open muety opened 3 years ago
Are you talking about a USB adapter plug? That might be possible utilizing some additional logic such as that proposed in #69 which aims to query some of the lower-level USB information. Until that's implemented, listening for a timeout exception may be the only viable sign. Note, USB information wasn't originally part of the purpose of this library but as USB-Serial adapters become the norm, I find it to be only natural that the library should be enhanced to make the experience with them better.
Furthemore, this is a rarely updated open source library, so feel free to begin the code yourself and issue us a pull request with the requested changes if you need to move this along faster. 🍻
Is there some way of getting notified once the plug is pulled out?