【问题标题】:Can Web-bluetooth provision nodes in a BLE-mesh?网络蓝牙可以在 BLE-mesh 中提供节点吗?
【发布时间】:2019-05-24 08:57:47
【问题描述】:

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

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

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

【问题讨论】:

标签: bluetooth-lowenergy web-bluetooth bluetooth-mesh


【解决方案1】:

我怀疑“智能网状网络”技术不是蓝牙 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=

对于实践经验,有一些来自 SIG 的编码项目“学习指南”:

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

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

希望这会有所帮助。

附加:要“发送消息”,您需要使用代理节点和代理协议。这允许通过连接使用 GATT 将网状消息发送到您的网状网络/从您的网状网络返回。 bluetooth.com 上有一个实际使用网络蓝牙的动手学习指南:https://www.bluetooth.com/bluetooth-resources/?tags=mesh&keyword&types=study-guide

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

【讨论】:

    【解决方案2】:

    https://github.com/aircable/SmartMesh "蓝牙 SmartMesh 控制器让您可以通过 iPhone、Android 或 Chrome 与智能网格进行交互。"

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

    我还没有验证这一点。

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

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

    接下来的步骤可能会尝试将 Web 蓝牙与 org.bluetooth.service.mesh_provisioning 服务一起使用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-12-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多