摘要
将RS-232C通信操作从应用程序中分离并封装起来,形成一个层次。其中传输控制层用于实现对硬件的操作和协议控制,具体的任务包括完成通信接口设备的启停、发送方与接收方的相互联机、通信过程中异常的侦测与处理、数据流的发送与接收及其控制等功能。经实际应用,该法完整地实现了传输控制层的各项功能。
Functions of the communication of RS-232C was separated and enveloped from the application to form a layer. The Transmission Control Layer is used to manipulate the hardware and control the protocols. The concrete functions, such as start and stop of the communication interface, mutual connection of the sender and the receiver, detection and disposal of exception in the communication, the sending and receiving of data stream, and so on, are implemented. The experiments show that all the functions of Transmission Control Layer are implemented.
出处
《西南科技大学学报》
CAS
2006年第3期52-55,共4页
Journal of Southwest University of Science and Technology
关键词
RS-232C通信接口
传输控制层
数据通信
Communication Interface of RS-232C
Transmission Control Layer
data communication