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 difficult
You use IOKit calls to find serial ports.
See: Documentation and Sample Code