I'm currently writing a tool that automatically detects connected arduinos and provides a one-button solution for flashing new firmware. I've got a couple of arduinos at home (Diecimilla, Uno R3 SMD and some nanos from china) and each type presents with a different serial port name.
Questions
- Can someone explain where these port names come from?
- Can I assume that
/dev/cu.usbserial-A9UPDRZB
is, atleast in most cases, an arduino nano? - Are there other ways to identify the type of the board?
- Is the name of the serial port some kind of hash generated from informations retrieved from the device?