5

C++ Serial Port Programming: RS-485 with libserial

view full story
linux-howto

http://ubuntuforums.org – I'm looking to communicate with a data acquisition board that uses RS-485. I see that there is a C API for such communications: http://www.kernel.org/doc/Documentat...rial-rs485.txt However, I've also seen the libserial package (http://libserial.sourceforge.net/, in the repos) which describes itself as "Simplified serial port programming in C++ under POSIX operating systems." In this situation (for this package) does "serial port" encompass _all_ types of serial ports or just RS-232 (the most common one)? (Hardware)