【问题标题】:Possibility of a Web App to act as a Bluetooth Low Energy Beacon for BLE advertising?Web App 是否可以用作 BLE 广告的低功耗蓝牙信标?
【发布时间】:2020-08-24 13:39:13
【问题描述】:

我一直在查看来自https://googlechrome.github.io/samples/web-bluetooth/ 的文件 似乎几乎所有的示例演示或代码大部分都是作为中心的网络应用程序。我想知道是否有可能以某种方式利用代码使我的网络应用程序成为外围设备,或者是否......有一个基于 web 应用程序的外围设备模拟器。我找到的最接近的是基于 android 应用程序。

我正在研究将其实际实施到 PWA 中的可能性。

感谢大家花时间阅读!

【问题讨论】:

    标签: web bluetooth bluetooth-lowenergy web-bluetooth eddystone-url


    【解决方案1】:

    如果您查看specification page,它会显示以下内容:

    本规范的第一个版本允许在 UA 上以 Central 角色运行的网页通过 BR/EDR 或 LE 连接连接到 GATT 服务器。

    该项目创建了一个peripheral simulator,它被编写为一个 Android 应用程序,因此可能证实了您没有找到任何示例的原因。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-02-21
      • 1970-01-01
      • 2015-05-05
      • 2016-06-14
      • 2013-11-13
      • 1970-01-01
      • 2021-10-27
      • 2013-03-07
      相关资源
      最近更新 更多