我有一个外围设备(使用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.
更多推荐
发布评论