登录
首页 » Visual C++ » SerialDotNet2

SerialDotNet2

于 2007-09-06 发布 文件大小:60KB
0 308
下载积分: 1 下载次数: 47

代码说明:

  原本.net1.1都是采用justinIO.cs的,它调用的是winAPI,可能存在不同设备的兼容性问题。现在.net2直接在system.io.port下面有serialPort了,这样可以直接用。 鉴于.net2和.netCF2对于threading有不同的用法,所以两个版本都做了,分别是PC+.net2和wm5sp+.netcf2的。 由于smartphone的蓝牙都是默认com6和com7的,所以如果这个程序大家想用作蓝牙串行,在你们的桌面端蓝牙配置的时候要注意把虚拟串口重新定义到com6。具体做法以IVT Bluesoleil为例子,装好蓝牙驱动程序以后,会在设备管理器里面多出几个串行口;而IVT默认的串行口是com10/11,这样就要把设备管理器com10/11的高级属性里面的端口重新强制定义到com6/7,这样就可以了。因为我做蓝牙串行,所以程序代码中都采用了COM6, 9600, 8, N, 1 的通信格式。 本论坛也有cpp的smartphone串行程序,大家可以搜索一下。那个也不错,我调试的时候smartphone采用这个来调试的。()

文件列表:

serialCommDotNet2
.................\serialCommDotNet2
.................\.................\bin
.................\.................\...\Debug
.................\.................\Form1.cs
.................\.................\Form1.Designer.cs
.................\.................\Form1.resx
.................\.................\obj
.................\.................\...\Debug
.................\.................\...\serialCommDotNet2.csproj.FileList.txt
.................\.................\Program.cs
.................\.................\Properties
.................\.................\..........\AssemblyInfo.cs
.................\.................\..........\Resources.Designer.cs
.................\.................\..........\Resources.resx
.................\.................\..........\Settings.Designer.cs
.................\.................\..........\Settings.settings
.................\.................\serialCommDotNet2.csproj
.................\serialCommDotNet2.sln
serialCommDotNetCF2
...................\serialCommDotNetCF2
...................\...................\bin
...................\...................\...\Debug
...................\...................\Form1.cs
...................\...................\Form1.Designer.cs
...................\...................\Form1.resx
...................\...................\obj
...................\...................\...\Debug
...................\...................\...\serialCommDotNetCF2.csproj.FileList.txt
...................\...................\Program.cs
...................\...................\Properties
...................\...................\..........\AssemblyInfo.cs
...................\...................\..........\Resources.Designer.cs
...................\...................\..........\Resources.resx
...................\...................\serialCommDotNetCF2.csproj
...................\...................\serialCommDotNetCF2.csproj.user
...................\serialCommDotNetCF2.sln

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • POP3_EXAMPLE
    Pop3客户端接收信件的整个流程: 1。连接到pop3服务器(默认端口110) 2。发送用户名(user) 3。发送密码(pass) 4。查询当前邮箱状态(stat) 5。查询服务器上所有邮件UID列表(UIDL) 6。查询本地所有邮件的UID列表,从而罗列出新邮件列表(本地UID列表是POP3客户端记录在日志文件中的) 7。对所有新邮件查询其大小(LIST) 8。下载所有新邮件(RETR)利用List提供的邮件大小信息 9。如果有必要,对所有新邮件标志为删除(DELE) 10。结束对话(QUIT) 11。解析本地下载邮件。(Pop3 client receives the entire flow of letters: 1. Connect to the pop3 server (default port 110) 2. Send user name (user) 3. Send password (pass) 4. Query current mail status (stat) 5. Query server UID list of all messages (UIDL) 6. Query local UID list of all messages, which set out the new mailing list (local UID is a POP3 client list recorded in the log file) 7. For all new e-mail inquiries about their size (LIST) 8. Download all new messages (RETR) to use List of information provided by message size 9. If necessary, for all new signs for the delete message (DELE) 10. The end of the dialogue (QUIT) 11. Analysis of local download your mail.)
    2021-01-03 19:38:55下载
    积分:1
  • MFCSocket
    聊天室的VC++实现 视频会议 多人聊天室(Chat VC++ implementation of video conferencing over the chat room)
    2009-04-06 11:01:10下载
    积分:1
  • MemoryMouseInfo
    利用VC程序实现系统编程中的跟踪内存状态的功能。(Procedures for system programming using VC in the state to track memory function.)
    2011-10-19 15:52:50下载
    积分:1
  • MapViewer
    MapViewer是利用Visual C++ 6.0对MapX组件进行二次开发得到的一款小型软件。它能实现GIS软件的一些基本操作,包括地图数据的输入、输出、空间查询检索、专题图的制作等 (MapViewer are using Visual C++ 6.0 on MapX components received by the secondary development of a small software. GIS software, it can achieve some of the basic operations, including the map data input and output, spatial query retrieval, thematic map production, etc.)
    2009-03-13 10:29:25下载
    积分:1
  • angel123
    霹雳远控源码,完美编译,无错误,上线正常。好东西值得收藏,支持WIN7。(Thunderbolt source remote control, perfect compiler, error-free, normal on-line. The good thing worth collecting support WIN7.)
    2012-04-03 20:55:47下载
    积分:1
  • DesktopSet1
    自己做的ActiveX系统配置控件,单击按钮打开桌面图标设置1对话框,实现: 隐藏所有桌面图标及图标小箭头; 修改我的电脑、计划任务、控制面板、打印机、拨号网络、网上邻居、浏览器、回收站(空)、回收站(满)等桌面图标的提示内容; 设置我的电脑、计划任务、控制面板、打印机、拨号网络、网上邻居、浏览器、回收站等图标的名称; 设置我的电脑、计划任务、控制面板、打印机、拨号网络、网上邻居、浏览器、回收站等的图标; 可以部署在服务器上,适合在公共电脑等不方便带文件的场合进行快速系统配置,也适合嵌入到其它程序中,进行快速开发。(Make its own system configuration of ActiveX controls, click the Settings button to open the Desktop icon in one dialog box, and realize: Hide all desktop icons and a small arrow icon Modify my computer, planning tasks, the control panel, printers, dial-up network, Network Places, browser, Recycle Bin (empty), the Recycle Bin (full) desktop icon prompts such content Set up my computer, planning tasks, the control panel, printers, dial-up network, Network Places, browser, Recycle Bin icon s name, etc. Set up my computer, planning tasks, the control panel, printers, dial-up network, Network Places, browser, Recycle Bin icon, etc. Can be deployed on the server for computers in public with a document inconvenient forum for rapid system configuration, is also suitable for embedding into other programs, for rapid development.)
    2009-02-12 11:06:13下载
    积分:1
  • evaporation-of-sodium---973K
    fluent中蒸发冷凝的udf源码,基于Lee模型,可用于相变模拟。(fluent evaporated condensed udf source, based on Lee model can be used to simulate the phase change.)
    2016-03-05 17:57:23下载
    积分:1
  • Date-increment-1
    自定义一个简单的日期类DateType,它具有数据成员y、m、d,用来表示当前日期的年、月、日。而后设计该类欲实现(完成)的功能,进而设计出相应的类成员函数。   例如,下面给出的“雏形”可用来实现对天的增加,比较两个日期是否相等,以及对日期的输出等操作。请完成各类成员函数,并编制主函数,说明DateType类对象,对定义的各成员函数进行调用,以验证它们的正确性。 (Customize a simple date class DateType, it has a data member y, m, d, is used to indicate the current date, month, and day. To achieve the latter design class (complete) function, and then design the appropriate class member functions. For example, the following is the " prototype" is used to achieve the increase of day, compare two date are equal, and the output of dates and other operations. Please complete all kinds of member functions, and prepare the main function, indicating DateType class object for each member function definition be called to verify their correctness.)
    2013-05-22 21:22:09下载
    积分:1
  • CAPTION
    说明:  Captura un dato de una web
    2020-06-24 15:20:01下载
    积分:1
  • myWDK
    这是一个C++驱动级内存读写源码,可以实现读写一些受保护游戏的内存。。(This is a C++ source code to read and write memory drive level, you can read and write some of the protected memory game.)
    2014-12-06 09:43:51下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载