SerialPortTest

所属分类:串口编程
开发工具:Visual C++
文件大小:58KB
下载次数:19
上传日期:2011-05-13 08:07:27
上 传 者yxwdxx
说明:  在VC程序中,每当串口缓冲区中有一个或一个以上字符时触发串口通信事件(字符个数可以在程序中进行设定),该事件就驱动(调用)串口通信事件处理函数,对接收到的数据进行处理,判断是否为包(串)头,即第一个字符,再判断是不是结束字符,若是结束字符,则还要对数据进行校验计算,并与接收到的校验值比较,或两者相同,则断定接收到的数据包是正确的,否则是错误的。
(In the VC procedure, whenever the serial buffer has one or more serial communication event trigger character (number of characters can be set in the program), the event to drive (call) event handler serial communication, the receiver data processing to determine whether the package (string) first, that the first character, then judge the character is not the end, if the end of the characters, but also check the data calculated and received checksum comparison , or both are the same, to determine the received packet is correct, otherwise it is wrong.)

文件列表:
20070633SerialPortTest\20070633SerialPortTest.aps (41396, 2010-11-18)
20070633SerialPortTest\20070633SerialPortTest.clw (3407, 2010-11-19)
20070633SerialPortTest\20070633SerialPortTest.cpp (2403, 2010-11-13)
20070633SerialPortTest\20070633SerialPortTest.dsp (4704, 2010-11-18)
20070633SerialPortTest\20070633SerialPortTest.dsw (552, 2010-11-13)
20070633SerialPortTest\20070633SerialPortTest.h (1510, 2010-11-13)
20070633SerialPortTest\20070633SerialPortTest.ncb (82944, 2010-11-19)
20070633SerialPortTest\20070633SerialPortTest.opt (55808, 2010-11-19)
20070633SerialPortTest\20070633SerialPortTest.plg (278, 2010-11-19)
20070633SerialPortTest\20070633SerialPortTest.rc (10385, 2010-11-18)
20070633SerialPortTest\20070633SerialPortTestDlg.cpp (17004, 2010-11-19)
20070633SerialPortTest\20070633SerialPortTestDlg.h (3224, 2010-11-19)
20070633SerialPortTest\Debug\20070633SerialPortTest.exe (131155, 2010-11-19)
20070633SerialPortTest\res\20070633SerialPortTest.ico (1078, 2010-11-13)
20070633SerialPortTest\res\20070633SerialPortTest.rc2 (414, 2010-11-13)
20070633SerialPortTest\res\OFF.ICO (766, 2010-11-18)
20070633SerialPortTest\res\RED.ICO (766, 2010-11-18)
20070633SerialPortTest\resource.h (2173, 2010-11-18)
20070633SerialPortTest\SerialPort.cpp (18699, 2007-06-26)
20070633SerialPortTest\SerialPort.h (2796, 2007-06-26)
20070633SerialPortTest\StdAfx.cpp (224, 2010-11-13)
20070633SerialPortTest\StdAfx.h (1102, 2010-11-13)
20070633SerialPortTest\Debug (0, 2010-11-19)
20070633SerialPortTest\res (0, 2010-11-19)
20070633SerialPortTest (0, 2010-11-19)

近期下载者

相关文件


收藏者