文件名称:Windows CE下的串口通讯类
介绍说明--下载内容均来自于网络,请自行研究使用
串行通讯是目前计算机、通信和控制领域最基本的通信方式。在CSDN的“嵌入式开发/WINCE”社区中,经常有人提问该到哪找串口通讯类,其实这个问题我自己也问过。:)而一般的回答是给你提供一个Pocket
PC 2002的SDK例子程序。但到底SDK的程序和MFC的结构有很大的不同,对于想用MFC编写通信程序的人来说也不是很便利。
另一方面,由于Windows CE是一个基于Unicode的操作系统,并且Windows
CE不支持Windows下常用的串行通信重叠I/O方式(OVERLAPPED),因此编写Windows CE下的串口通讯类有一些与桌面Windows不同的地方。
以下是我从SDK程序改写而来的MFC类,希望能和致力于WINCE开发的朋友多多交流,由于本人才疏学浅,程序中有许多不完善的地方,请大家指正。我的程序是基于“主动发送请求,被动接收响应”的假设,因此我只设置了一个接收数据的线程。-serial communication is the computer, communications and control areas the most basic means of communication. Bringing in the "Embedded Development / pulled" communities, it was often the question where to find serial communications, in fact, the question I have asked. :) And the general answer is to provide you with a Pocket PC 2002 SDK examples procedures. But in the end SDK MFC procedures and the structure are quite different, MFC prepared to use communication program who is not very convenient. The other hand, is a Windows CE-based Unicode operating system, Windows CE and Windows do not support common serial communication overlapping I / O modes (OVERLAPPED), prepared under the Windows CE serial communications with some Windows desktop different places. Following is the proce
PC 2002的SDK例子程序。但到底SDK的程序和MFC的结构有很大的不同,对于想用MFC编写通信程序的人来说也不是很便利。
另一方面,由于Windows CE是一个基于Unicode的操作系统,并且Windows
CE不支持Windows下常用的串行通信重叠I/O方式(OVERLAPPED),因此编写Windows CE下的串口通讯类有一些与桌面Windows不同的地方。
以下是我从SDK程序改写而来的MFC类,希望能和致力于WINCE开发的朋友多多交流,由于本人才疏学浅,程序中有许多不完善的地方,请大家指正。我的程序是基于“主动发送请求,被动接收响应”的假设,因此我只设置了一个接收数据的线程。-serial communication is the computer, communications and control areas the most basic means of communication. Bringing in the "Embedded Development / pulled" communities, it was often the question where to find serial communications, in fact, the question I have asked. :) And the general answer is to provide you with a Pocket PC 2002 SDK examples procedures. But in the end SDK MFC procedures and the structure are quite different, MFC prepared to use communication program who is not very convenient. The other hand, is a Windows CE-based Unicode operating system, Windows CE and Windows do not support common serial communication overlapping I / O modes (OVERLAPPED), prepared under the Windows CE serial communications with some Windows desktop different places. Following is the proce
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 65520811windows ce下的串口通讯类.rar 列表 Windows CE下的串口通讯类 - zhenxizhou的专栏.txt