共享蓝牙配对信息(对于网状网络)

发布于 2024-10-01 02:56:30 字数 253 浏览 0 评论 0原文

有没有办法在网状网络中的两个从节点之间共享蓝牙配对信息?例如,如果 Person1 将手机与 Node1 配对并离开可扫描区域。稍后,当Person1进入Node2的可扫描区域时,是否可以使用配对信息再次直接连接到Person1?无需手动重新连接、共享 PIN 并完成所有其他步骤。

我们可以假设 Node1 和 Node2 至少位于 LAN 或 VLAN 上,并且可以直接相互连接。如果需要,Node1 和 Node2 可以在扫描区域中重叠,但如果它们不重叠,则该问题适用。

Is there any way to share Bluetooth pairing information between two slave nodes in a mesh network? For instance, if Person1 pairs a phone to Node1 and leaves the scannable area. Sometime later, when Person1 enters Node2's scannable area, can the pairing information be used to connect directly to Person1 again? Without needing to reconnect manually, share a PIN, and complete all other steps.

We can assume that Node1 and Node2 are on a LAN or VLAN at least and can connect directly to each other. Node1 and Node2 can overlap in scanning area if necessary, but the question is applicable if they don't.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

紙鸢 2024-10-08 02:56:30

不,没有办法,
配对过程的输出是链接密钥,用于后续连接。
Link 键是蓝牙设备地址的函数。由于节点 1 和节点 2 具有不同的蓝牙设备地址,因此即使使用相同的引脚,该密钥也会不同。

所以唯一的方法是共享 PIN 码并重新进行配对过程,
注意配对过程只有一次,设备可以存储一些固定数量的生成的链接密钥。
如果您安全地共享 PIN,那么您还可以考虑设备以编程方式执行自动配对,而不会中断用户。

如果您使用带有简单配对模式的最新蓝牙(2.1 及更高版本),您可以考虑即时配对过程,该过程不会提示用户输入任何 PIN/输入。

No there is no way,
The output from the pairing process is the link key, which is used in subsequent connections.
The Link key is a function of the Bluetooth device address. Since Node 1 and 2 would have different Bluetooth Device Address , this key will be different even if the same pin is used.

So the only way is to share the PIN and re-do the pairing process,
Note paring process is only one time , devices can store some fixed number of generated link keys.
If you share the PIN securely then you can also consider the devices doing automatic paring programmatically without interrupting the user.

If you use latest Bluetooth (2.1 and above) with Simple paring modes you can consider just-works paring process which would not prompt for any PIN/input from the user.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文