Is there a library call on MacOS to display the available serial ports and the settings for each of them? Hopefully something that can shift in iOS at some time with minimal difficulty.
I would prefer not system("ls /dev/tty.*") and system("stty ...") , if possible.
source share