Is there a library call in MacOS to list the available serial ports and the settings of each? Hopefully something that might port to iOS at some time with minimal difficulty.
I would prefer not to system("ls /dev/tty.*")
and system("stty ...")
if possible.