How do it read message from RS232 port in my computer
Solution 1:
Since this is an ubuntu site, here are a few ubuntu packages (install with apt install
) that support serial:
Stand alone programs:
- gtkterm
- screen
- ttylog
Programming libraries:
- golang-github-tarm-serial-dev (for go)
- libjssc-java (for java, also libjssc-java-doc)
- libserial-dev (for c++)
- python-serial (python pyserial)
- python3-serial
This list is not exhaustive. It only includes the highlights and most generic serial port use. There are other packages that use the serial port for specific purposes, and programming libraries (like termios and stdio) that are needed to use the serial port but are not specifically for it.