iPhone BLE(蓝牙4.1)是否支持非可绑定模式连接?(Does the iPhone BLE (Bluetooth 4.1) support non

编程入门 行业动态 更新时间:2024-10-28 00:20:22
iPhone BLE(蓝牙4.1)是否支持非可绑定模式连接?(Does the iPhone BLE (Bluetooth 4.1) support non-bondable mode connections?)

我有一个外围设备(使用CSR1010),如果它通过Gap设置“可绑定模式”进行广告,则只能连接到iPhone。 对于我的应用程序,我不希望手机绑定到设备,但仍然想要配对(具有安全连接)。

如果我将服务器置于不可绑定模式,则在授权配对后,iPhone会立即断开连接,而不会对外围设备执行任何操作(即,iPhone正在断开连接)。

根据规范,不可绑定模式仅意味着无论连接如何建立(有/无配对),设备都不应该绑定(在此连接后保留该安全连接)。 我想知道iPhone是否真的支持这个(规范说它必须支持它)。

I have a peripheral (using CSR1010's) that only is able to connect to the iPhone if it advertises with Gap settings "Bondable Mode". For my application, I don't want the phone to bond to the device, but do still want to pair (have a secure connection).

If I put the server in non-bondable mode, the iPhone drops the connection immediately after pairing is authorized without any action on the peripheral (i.e. it's the iPhone disconnecting).

According to the spec, non-bondable mode only means that regardless of how the connection is established (with/without pairing), the devices should not bond (retain that secure connection after this connection). I'm wondering if the iPhone actually supports this (spec says it's mandatory to support it).

最满意答案

不,你提到的那种行为开始在iOS 9中发生。在此之前它运行良好。 这不是标准行为,但这就是苹果所做的......

无论如何你想要达到什么目的? 使用没有绑定的配对几乎不会增加任何安全性,因为可以轻松地解密配对。

No, that behavior you mention started to happen in iOS 9. Before that it worked fine. It's not standard behaviour but that's what apple does...

What do you want to achieve anyway? Using pairing without bonding does not add any security at all almost, since ble pairing can easily be decrypted.

更多推荐

本文发布于:2023-07-22 20:45:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1223284.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:蓝牙   绑定   模式   iPhone   BLE

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!