登录
首页 » Visual C++ » SerialDotNet2

SerialDotNet2

于 2007-09-06 发布 文件大小:60KB
0 272
下载积分: 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 个回复

  • PassSpider_Demo
    vc++ 跑号器 源代码,需要 openssl库和 zlib库。(vc++ account scanner need openssl lib and zlib)
    2014-03-22 06:03:21下载
    积分:1
  • HelloWDM
    驱动入门程序例子,可以用来熟悉驱动开发,让新手快速进入状态(Drive entry program examples, can be used to familiar with the driver development, so that the novice to quickly enter the state)
    2012-05-21 16:43:24下载
    积分:1
  • Beidou_satellite
    北斗卫星产生伪随机码的程序,用以模拟输出伪随机序列(Beidou satellite program generates pseudo-random code to simulate the output of the pseudo-random sequence)
    2021-04-19 09:58:51下载
    积分:1
  • eprocess
    获得wrk中当前进程eprocess结构体(Get the current process eprocess structure)
    2014-04-23 10:02:51下载
    积分:1
  • step-motor.c
    1,这是关于步进电机的细分电路。 2,这是关于步进电机原理说明。 3,这是关于步进电机MCS51+TLV5617(ADC)+A2916(MOTOR DIRVER)的源代码。(1,here is microstep motor driver circult and good code driver.)
    2010-12-21 11:04:28下载
    积分:1
  • RoundClock
    自己做的一个圆形始终,能用图像生动显示时、分、秒,并添加界面皮肤更换。(Always do their own a round, vivid images can display hours, minutes, seconds, and add the interface skin replacement.)
    2010-10-26 12:41:51下载
    积分:1
  • COMTestCode
    vc环境下COM组件编程小例子,一个文件生成COM组件,另一个文件调用该COM组件。(COM component programming small example, a file generated COM component vc environment, another file to call the COM component.)
    2013-12-19 16:21:03下载
    积分:1
  • dht11
    实现温湿度显示测量,利用stc89c51编写,利用ds18b20显示(Achieve the measurement of temperature and humidity display, use stc89c51 preparation, use ds18b20 show)
    2013-12-07 19:29:19下载
    积分:1
  • (2D)2PCALDA---face-recognition
    (2D)2PCALDA An efficient approach for face recognition
    2013-05-15 21:30:48下载
    积分:1
  • telnet
    自己实现的telnet的服务器端和客户端源码,VC2010实现(Their implementation of Telnet server and client source code, VC2010 implementation)
    2021-01-12 16:38:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载