GATT 事件通知是否可以在不配对的情况下进行?

Are GATT Event notifications possible without pairing?

我一直在研究 BT 4.x (LE) 规范,试图弄清楚这是否可能(没有 pairing/boding 的事件)。

有没有人知道(link 最好是规范)如果可能的话?

正如 Mike Petrichenko 评论的那样,无需配对,GATT 通信绝对是可能的。事实上,大多数 GATT servers/clients 都可以在不需要 pairing/bonding 的情况下运行。唯一的例外是某些特征需要 authentication/authorisation 才能读取某些数据(例如具有心率特征的医疗设备)。

如果您想具体参考蓝牙规范中提到的位置,那么我建议查看核心规范版本 5.2,第 3 卷,C 部分,第 10.2 节(LE 安全模式):-

The security requirements of a device, a service or a service request are expressed in terms of a security mode and security level. Each service or service request may have its own security requirement. The device may also have a security requirement. A physical connection between two devices shall operate in only one security mode.

然后提到 LE 安全模式 1 具有级别 无安全,许多 GATT servers/clients 工作在这个级别。

如果你有两部手机,你可以自己测试一下。您可以使用 nRF Connect 应用程序在一个上 运行 a GATT server 和另一个上的 GATT 客户端。您会看到无需配对即可浏览 GATT table 和读取数据。

下面是一些包含更多信息的链接:-