bugst / go-serial

A cross-platform serial library for go-lang.
BSD 3-Clause "New" or "Revised" License
617 stars 188 forks source link

Retry port enumeration 5 times before giving up (macosx) #152

Closed cmaglie closed 1 year ago

cmaglie commented 1 year ago

We observer errors getting the IOCalloutDevice string, this is a tentative fix based on the hypotesis that the enumerator is called too early during the USB enumeration phase.

This has been already validated and tested: https://github.com/arduino/serial-discovery/pull/52