Web 蓝牙可以在 BLE 网状网络中提供节点吗?

Can Web-bluetooth provision nodes in a BLE-mesh?

我有一个网络应用程序需要与 BLE 网状网络中的大约 48 个 BLE 设备进行通信。

我发现 Web-bluetooth 可以与一个蓝牙设备一起工作,但是找不到是否有办法配置 BLE-mesh,然后使用 Web-bluetooth 向 mesh 中的节点发送消息。

如果重要的话,我把它放在这里以供参考,网络应用程序是一个用 Typescript 编写的 Angular 应用程序。对于 Web 蓝牙,我正在使用这个库 https://github.com/manekinekko/angular-web-bluetooth

https://github.com/aircable/SmartMesh "Bluetooth SmartMesh Controller lets you interact with the smart mesh from your iPhone, Android, or from Chrome."

来自 Michael Lawton 引用此讨论帖的评论: https://developer.qualcomm.com/forum/qdn-forums/hardware/bluetooth-connectivity-iot/csr101x-product-family/csrmesh-development-k-59

我还没有验证过。

我看到它正在使用: const MESH_SERVICE_UUID = 0xFEF1

这不是 org.bluetooth.service.mesh_provisioning 0x1827

接下来的步骤可能会尝试将网络蓝牙与 org.bluetooth.service.mesh_provisioning 服务结合使用。

我怀疑 "Smart Mesh" 技术不是 Bluetooth SIG(它有 33,000 个成员)的标准蓝牙网状网络,所以要小心。我可能是错的,但我在合格的网格产品列表中没有看到该公司的任何东西:https://www.bluetooth.com/bluetooth-technology/topology-options/le-mesh/mesh-qualified/

在网格配置文件 1.0 规范中寻找此类问题的答案的位置:

https://www.bluetooth.com/specifications/mesh-specifications/

面向开发人员的网格介绍是入门阅读的较短内容:https://www.bluetooth.com/bluetooth-resources/?types=paper&categories=&tags=mesh&keyword=

对于 hands-on 经验,有几个 "study guides" 来自 SIG 的编码项目:

https://www.bluetooth.com/bluetooth-resources/?tags=mesh&keyword&types=study-guide

简而言之,可以在两个 "bearers" 上执行配置,包括 GATT(称为 PB-GATT)。由于 Web Bluetooth 支持 connection-oriented GATT,我相信您应该能够使用 Web Bluetooth 通过 GATT 实现配置。您将无法访问来自未配置节点的 ServiceData 广告数据包中的设备 UUID,但这对您来说可能不是问题....然而,取决于详细要求。

希望对您有所帮助。

补充:"send messages"您需要使用代理节点和代理协议。这允许通过连接使用 GATT 将 mesh 消息发送到您的 mesh 网络或从您的 mesh 网络返回。 hands-on 学习指南实际使用网络蓝牙 bluetooth.com 此处:https://www.bluetooth.com/bluetooth-resources/?tags=mesh&keyword&types=study-guide

此外...您可以在此处看到我演示控制小型(64 个节点)蓝牙网状网络的 Web 蓝牙:https://youtu.be/1rxgY1EnmJw?t=1173