简体   繁体   English

Zephyr BLE:一个 GATT 客户端可以连接到多个 GATT 服务器吗

[英]Zephyr BLE: Can a GATT Client connect to multiple GATT Servers

My question is very brief - In the Zephyr documentation, I couldn't find an answer to my question (which surprised me).我的问题非常简短 - 在 Zephyr 文档中,我找不到我的问题的答案(这让我感到惊讶)。 Is it possible for a GATT Client to connect to more than one GATT Server? GATT 客户端是否可以连接到多个 GATT 服务器?

Right now I am using two boards to compute something (one as a server and one as a client).现在我正在使用两块板来计算一些东西(一个作为服务器,一个作为客户端)。 Ideally, the result of the computation should be written to a characteristic on a third device, another GATT server.理想情况下,计算结果应该写入第三个设备(另一个 GATT 服务器)上的特性。

You're right I couldn't find this information easily but it is certainly possible to have multiple connections as I've tried this myself before.你是对的,我无法轻易找到这些信息,但肯定有可能有多个连接,因为我之前自己尝试过。 Many application and products built on Zephyr also rely on this feature.许多基于 Zephyr 构建的应用程序和产品也依赖此功能。 Generally speaking, there is no limit to the number of BLE connections that is imposed by the Bluetooth specification, but the limitation is usually dictated by the hardware.一般来说,蓝牙规范对 BLE 连接的数量没有限制,但限制通常由硬件决定。 This is somehow mentioned in the Zephyr link below:-这在下面的 Zephyr 链接中以某种方式提到:-

https://docs.zephyrproject.org/latest/guides/bluetooth/overview.html https://docs.zephyrproject.org/latest/guides/bluetooth/overview.html

I hope this helps.我希望这有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM