Windows 8的低功耗蓝牙API的例子 [英] Windows 8 Bluetooth Low Energy API example

查看:1354
本文介绍了Windows 8的低功耗蓝牙API的例子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人发现了如何发现,连接和使用Windows 8断开BLE装置一个很好的例子,C / C ++?

Has anyone found a good example of how to discover, connect, and disconnect BLE devices on Windows 8 using C/C++?

我不知道如何获得一个设备句柄与低功耗蓝牙功能API的http://msdn.microsoft.com/en-us/library/windows/hardware/hh450825(v=vs.85).aspx

I'm not sure how to get a device handle to use with the "Bluetooth Low Energy Functions" API http://msdn.microsoft.com/en-us/library/windows/hardware/hh450825(v=vs.85).aspx

推荐答案

Windows 8的蓝牙GATT的API要求设备使用配对内置的用户界面,不允许应用程序连接到任意蓝牙LE设备。

The Windows 8 Bluetooth GATT apis requires that the device be paired using the built-in UI and does not allow application to connect to an arbitrary Bluetooth LE device.

来源:<一个href=\"http://social.msdn.microsoft.com/Forums/en-US/65c9cf4e-e225-4fc3-8c2c-66cd2401d3ed/how-to-establish-a-connection-from-windows-8-pc-to-a-bluetooth-low-energy-device\"相对=nofollow> MSDN论坛

这篇关于Windows 8的低功耗蓝牙API的例子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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