为32feet下的widcomm堆栈创建虚拟串口

发布于 2024-08-30 02:26:50 字数 435 浏览 4 评论 0原文

目前我正在做一个项目,涉及 PDA 和小型嵌入式设备之间的蓝牙通信设置。这种小型嵌入式设备只能通过蓝牙链路与虚拟串行端口进行通信。

PDA是运行windows mobile 6的ipaq,我使用的是c#。

我做了一个可以通过蓝牙与串口通信的程序。但唯一的问题是每次我运行这个程序时,我都必须激活蓝牙无线电,并通过蓝牙管理器手动将此设备与 PDA 配对。我想要做的是当运行这个程序时,它可以在pda和嵌入式模块之间建立蓝牙连接。

所以我使用 32feet 项目中的函数。这是一个问题,我无法制作虚拟串口部分,因为我认为 32feet 项目只能为 Windows 蓝牙堆栈制作虚拟串口,而不能为 ipaq 正在使用的 widcomm 蓝牙 stact 制作虚拟串口。

因此,是否有任何现有的c#类或堆栈可以在widcomm下为windows mobile 6创建虚拟串口。

谢谢

Currently I am doing a project involves a bluetooth communication setup between a PDA and a small embedded device. This small embedded device can only be communicated with a virtual serial port over a bluetooth link.

The PDA is the ipaq running with windows mobile 6, and I am using c#.

I had done a program which can communication with the serial port over bluetooth. But the only issue is every time I run this program, I have to active the bluetooth radio, and manually pairing this device with the pda via the bluetooth manager. What I want to do is when running this program, it can establish the bluetooth connection between the pda and the embedded module.

So I am using functions from the 32feet prject. This is one issue is I cant make the virutal serial port part, as I think the 32feet project can only make virual serial ports for the window bluetooth stack but not the widcomm bluetooth stact, which the ipaq is using.

Therefore, are there any existing c# classes or stacks that can make virtual serial port under widcomm for windows mobile 6.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

洋洋洒洒 2024-09-06 02:26:50

请参阅我的答案 Widcomm 蓝牙:如何打开虚拟 COM。我通常建议使用直接套接字(BluetoothClient)连接。对我来说,这似乎比必须创建一个虚拟串行端口更好,这在各种平台上都很困难,然后打开它,然后当对等设备超出范围等时不会出现错误。:-)

Alan

See my answer at Widcomm bluetooth : how to open the virtual COM. I generally recommend using a direct sockets (BluetoothClient) connection. That seems better to me than having to create a virtual serial port, which is difficult on various platforms, and then open it, and then gets no errors when the peer device goes out of range etc etc. :-)

Alan

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文