如何创建一个Winforms应用程序来检测附近的BLE设备并读取其特征 [英] How can I make a Winforms app that detects nearby BLE devices and reads their characterstics

查看:75
本文介绍了如何创建一个Winforms应用程序来检测附近的BLE设备并读取其特征的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

任何人都可以建议我使用一些Winforms应用来检测附近的BLE设备并阅读他们的代码特征和服务。

Can anyone please suggest me some code to make a Winforms app that detects nearby BLE devices and reads their characterstics and services.

非常感谢帮助

谢谢!

推荐答案

Hi Shikhar,

Hi Shikhar,

我建议您使用
32Feet.Net


I would suggest you do it using 32Feet.Net.

您可以通过以下方式搜索设备:

You can search for a device by doing:

        BluetoothClient client = new BluetoothClient();
        devices = client.DiscoverDevicesInRange();
        foreach (BluetoothDeviceInfo d in devices)
        {
            items.Add(d.DeviceName);
        }



更多详情请参阅以下主题:

More details please refer to the following thread:

在"设备和打印机"窗口中获取蓝牙设备的名称

另请参阅:  创建蓝牙设备检测器
[紧急帮助]

Also refer: Creating a bluetooth device detector [URGENT HELP]

问候,

Frankie

注意:此响应包含对第三方World Wide W的引用eb网站。 Microsoft提供此信息是为了方便您。 Microsoft不控制这些网站,也没有测试在这些
网站上找到的任何软件或信息;因此,Microsoft不能就其中发现的任何软件或信息的质量,安全性或适用性做出任何陈述。使用互联网上的任何软件都存在固有的危险,微软提醒您:
确保在从互联网上检索任何软件之前完全了解风险。

Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


这篇关于如何创建一个Winforms应用程序来检测附近的BLE设备并读取其特征的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆