C# 编写蓝牙协议
我希望用 C# 编写蓝牙协议实现,即所有类型的请求(发现等)都必须由我的应用程序处理。但我不知道该从哪里开始。有什么建议吗?参考?
I am looking to write a Bluetooth protocol implementation in C# i.e. All kind of request (discovery etc) must be handled by my application. But I have no idea that from where should I start. Any suggestion? reference?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
各种公司都为 Windows 制作了蓝牙软件“堆栈”:Microsoft 自己、Widcomm/Broadcom、IVT BlueSoleil、东芝等。据我所知,没有一个堆栈能让您看到响应发现的低级请求(“查询”) ),而且他们不太可能这样做。
我什至不确定软件级别是否看到此类请求,无线电本身是否应答查询请求 - 检查 HCI 接口,以查看是否收到查询请求(或类似的命名)事件。我不记得有这样的事件。
顺便说一句,我的库 32feet.NET 为 Windows 上的蓝牙、OBEX 和 IrDA 提供 .NET 支持:桌面和 WM/ CE,正在针对 Blue+Linux+Mono 进行开发。 (根据对 C# 的请求,我假设您使用的是 Windows)。
Various companies have produced Bluetooth software "stacks" for Windows: Microsoft themselves, Widcomm/Broadcom, IVT BlueSoleil, Toshiba, etc. As far as I know none of the stacks let you see the low level requests for responding to discovery ("Inquiry"), and its unlikely that they would do so.
I'm not even sure that the software level sees such requests, doesn't the radio answer inquiry requests itself -- check with the HCI interface so see if there's a inquiry request received (or simimalr named) event. I can't remember such an event.
BTW my library 32feet.NET provides .NET support for Bluetooth, OBEX and IrDA, on Windows: desktop and WM/CE, and in development for Blue+Linux+Mono. (I'm presuming you are on Windows based on the request for C#).