CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - CS SerialPort
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - CS SerialPort - List
[
Communication-Mobile
]
SerialDotNet2
DL : 0
原本.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采用这个来调试的。
Date
: 2008-10-13
Size
: 26.32kb
User
:
何辉
[
Communication-Mobile
]
SerialDotNet2
DL : 0
原本.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采用这个来调试的。
Date
: 2025-07-06
Size
: 60kb
User
:
何辉
[
CSharp
]
serialport
DL : 1
串口通讯实例,一个现成的SERIALPORT类,实现串口的初始化及串口的读写,打开关闭-Examples of serial communication, a ready-made category SERIALPORT, realize serial serial initialization and read-write, open to close
Date
: 2025-07-06
Size
: 51kb
User
:
00
[
CSharp
]
cs
DL : 0
此示例需要 LCD 设备,但如果没有 LCD 设备,代码仍可以说明以下各项操作: 声明 SerialPort 的实例。 读写端口。 控制与设备的通信协议。 关闭端口 -serial LEd test
Date
: 2025-07-06
Size
: 76kb
User
:
刘立君
[
CSharp
]
SerialPortUtil
DL : 0
采用CS结构,使用SerialPort类进行串口通讯。对SerialPort类进行了封装,以保证多个窗体间对串口实例的调用。-Using CS structure, SerialPort class for serial communication. SerialPort class on the package, in order to ensure calls between more than one form of the serial instance.
Date
: 2025-07-06
Size
: 3kb
User
:
lyy
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.