摘要
在嵌入式环境下,因设备间通信距离较远,多采用串行通信方式,但许多串行通信协议只适用于协议设计时的应用系统环境,不具有通用性,且有些协议存在通信失败的风险。通过分析设备间的通信需求,设计了一种分层的串行帧通信协议,该协议简单可靠,能适应多种系统环境。在嵌入式Linux系统环境下,该协议在实际应用系统中运行稳定。
Because there is a long-distance between communication equipments, serial communication mode is widely used in embedded environment. Many serial communication protocols are applied only to the application system environment at the time of the protocol design since they do not have universality, and some of them may get risk of commtinication failure. By analyzing the demands of communication between equipments, a layered serial communication protocol was designed. The pro- tocol is simple and reliable, and can be used in many kinds of system environments. The protocol is running well in a practical application system under the environment of embedded Linux system.
出处
《现代电子技术》
2010年第23期60-62,共3页
Modern Electronics Technique
关键词
串行通信
协议设计
嵌入式LINUX系统
应用层
链路层
serial communication
protocol design
embedded Linux system
application layer
link layer