摘要
串口通信广泛运用在工业自动化,串口与TCP/IP网络的结合能够实现远程控制以及数据采集等功能。本文基于Linux环境,利用Qt Create设计了串口服务器,实现了串口到以太网的数据转发功能,并给出了程序的设计要点。最后利用交叉编译器将其移植到嵌入式系统平台上。
Serial communication is widely utilized in industrial automation,and the remote control and data acquisition can be realized with the combination of serial and TCP / IP network. A serial server is designed via Qt Create under the Linux OS in the thesis to transmit the data information from serial to Ethernet,and the key of the program is presented. Besides,the program is transported to Embedded System by Cross Compiler.
出处
《山西电子技术》
2016年第4期63-65,共3页
Shanxi Electronic Technology