【发布时间】:2016-01-15 08:50:47
【问题描述】:
我需要某种代码示例来使用 Visual C# 在 Visual Studio Community 2015 中制作蓝牙“雷达”。我只需要检测附近的蓝牙设备和传输信号。
我只到这里: https://msdn.microsoft.com/es-es/library/ff536587(v=vs.85).aspx
找到一些旧图书馆 (32FEET) 但已过时。
但甚至没有一个 C# 示例。我需要蓝牙 LE,但我不介意只测试蓝牙 2.0。
我在 Java 中找到了 bluecode,在 Linux 中找到了 bluez 库。
编辑:适用于 Windows 7
【问题讨论】:
-
您想检测 iBeacons 还是各种 BLE 设备?
-
还要添加你想要支持的 Windows 版本,因为从 Windows 8.1 开始,就有了 BLE 的 API。从 Windows 10 开始,有用于检测 Beacon 广告数据的 API...
-
我现在不需要 BLE。我认为BLE仅来自Windows 8.1。我编辑了第一条消息:我需要 Windows 7 的代码。
标签: c# visual-studio bluetooth