文件名称:CPort
介绍说明--下载内容均来自于网络,请自行研究使用
CSerialPort是基于多线程的,其工作流程如下:首先设置好串口参数,再开启串口监测工作线程,串口监测工作线程监测到串口接收到的数据、流控制事件或其它串口事件后,就以消息方式通知主程序,激发消息处理函数来进行数据处理,这是对接收数据而言的;发送数据可直接向串口发送。
-CSerialPort is based on multi-threaded, its workflow is as follows: First, set the serial port parameters, and then open the serial monitoring thread, serial monitoring of worker threads to monitor the serial received data stream control events or other serial event, on the way to the news notify the main program to stimulate the message processing function to the data processing, which is to receive data sending data can be directly sent to the serial port.
-CSerialPort is based on multi-threaded, its workflow is as follows: First, set the serial port parameters, and then open the serial monitoring thread, serial monitoring of worker threads to monitor the serial received data stream control events or other serial event, on the way to the news notify the main program to stimulate the message processing function to the data processing, which is to receive data sending data can be directly sent to the serial port.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CPort\SerialPort.cpp
.....\SerialPort.h
CPort