I'm working with some Python where I have 5 USB devices plugged into the computer and I'm interacting with them. I've been programming for a number of years in PHP, but I'm pretty new to the application side.
I am currently looking for a way to uniquely identify a device such as a device serial number, one that isn't assigned by the computer, but from the device itself. Does something like that exist? If it does, is there a simple way to access it?
I'm not sure what platform you're using, but a cross-platform solution to dealing with serial ports is PySerial:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.