In the script I posted above I just loop over the ports doing
if (port.manufacturer === "STMicroelectronics.") {
Not very clever and I know for a fact that it doesn't work on my coworker's Ubuntu install (the same board reports manufacturer as "STMicroelectronics", i.e. without the dot at the end).
Could try some ducktyping after that I guess by sending some commands and see if the reply looks like it comes from an Espruino :)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
In the script I posted above I just loop over the ports doing
Not very clever and I know for a fact that it doesn't work on my coworker's Ubuntu install (the same board reports manufacturer as "STMicroelectronics", i.e. without the dot at the end).
Could try some ducktyping after that I guess by sending some commands and see if the reply looks like it comes from an Espruino :)