参考了以下文章:
- Linux下C语言串口应用编程
https://blog.csdn.net/morixinguan/article/details/80898172 - Linux 查看本机串口方法
https://www.cnblogs.com/xuyaowen/p/Linux-Ls-Serial.html - Linux下串口通信详解(上)打开串口和串口初始化详解
https://blog.csdn.net/specialshoot/article/details/50707965 - Linux下读写UART串口的代码
https://blog.csdn.net/Yao_GUET/article/details/24768967 - Linux下的串口编程实例
http://blog.csdn.net/w282529350/article/details/7378388