I created a cross platform library for accessing the UART (RS232) interface. Currently targeting Linux, Windows and FreeBSD.
In my initialization functions from the library I test first if an user is in the group dialer to use the call-out ports, which are documented
here. For communication and setup I use the POSIX functions from termios currently.
Are there some recommendations to use the UART interfaces a better way? Should I use the call-in ports instead?
The current full code can be found under https://github.com/Krotti83/libUART
In my initialization functions from the library I test first if an user is in the group dialer to use the call-out ports, which are documented
here. For communication and setup I use the POSIX functions from termios currently.
Are there some recommendations to use the UART interfaces a better way? Should I use the call-in ports instead?
The current full code can be found under https://github.com/Krotti83/libUART