【原创】webbluetoorh 在windows下无法显示搜索列表,在mac下正常的解决办法

google webbluetooth在windows下不能弹出设备搜索列表提示“Web Bluetooth API is not available”,因为webbluetooth是google新推出的功能(其实也不是很新已经三年多了,但在国内发展比较慢)也不是十分成熟。网上各种文档资料还较少。

所以Chrome将访问蓝牙设备列表功能禁用了,要想在Windows下使用必须在高级系统设置中开启标记权限。

地址如下:‘chrome://flags/#enable-experimental-web-platform-features’,将此项设置为“Enable”然后重启浏览器,再次执行即可弹出设备列表。

前提条件:1、带有蓝牙功能的笔记本

     2、台式机需要有蓝牙适配器,切安装蓝牙驱动

     3、请在Https协议下运行项目

google蓝牙demo地址:https://googlechrome.github.io/samples/web-bluetooth/index.html

posted @ 2018-07-17 09:59  东南篱  阅读(409)  评论(0编辑  收藏  举报