(Serial programming instruction
The serial port operation adopts UNIX like mode, and the basic operations such as opening / closing / sending / receiving are carried out in the way of file system, while the setting and control of some attributes are carried out by termios. The device file name corresponding to the serial port is "/ dev / ttyso".)