<div dir="auto"><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="m_-7470952811331978334quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>So I looked for a systematic naming convention, but according to the Linux allocated devices list (<a href="https://static.lwn.net/kerneldoc/admin-guide/devices.html" target="_blank">https://static.lwn.net/kernel<wbr>doc/admin-guide/devices.html</a>) there is a large number of tty* names in use for different serial drivers. Perhaps a different approach (<a href="https://stackoverflow.com/a/9914339" target="_blank">https://stackoverflow.com/a/9<wbr>914339</a>) is called for...</div></div></div></div>
<br></blockquote></div><br></div><div class="gmail_extra" dir="auto">When I implemented the pascalscada serial port component, I decided to use serial.pp to avoid one more package dependency and missing features in synaser at the moment that I started the Implementation (2010/2011). So I implemented the missing features directly on pascalSCADA serial port.</div><div class="gmail_extra" dir="auto"><br></div><div class="gmail_extra" dir="auto">To enumerate serial ports on Linux, the stackoverflow link of the last message is the best approach that I tested, but works only on Linux. For BSDs, MacOS and Solaris, I still using the approach of name pattern with numbered suffixes. On Windows BuildCommBCD Windows API function can be used, similar to the approach used FreeBSD, Mac e Solaris...</div></div>