BLE<->是否需要绑定? Android,iOS设备通讯? [英] Is Bonding required for BLE <-> Android, iOS device communication?

查看:117
本文介绍了BLE<->是否需要绑定? Android,iOS设备通讯?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个BLE设备和一个用于与该设备进行通信的android/ios应用.

We have a BLE device and android/ios app for communication with the device.

要求是在没有任何配对请求的情况下将android/ios应用连接到设备.设备上不需要安全性.

The requirement is to have an android/ios app connect to the device without any pairing request. No security is required on the device.

以下是关于此的一些问题:

Hereafter a few questions around this:

  • Q1.是否有可能将android/ios应用程序连接到BLE 没有配对请求的设备?
  • 第二季度.是否需要粘接 BLE通讯?
  • Q3.拥有设备的不利之处是什么 没有粘接?在应用程序运行时会断开连接吗 跑步?
  • 第四季度.谁是发起者或配对对话框,应用程序或 设备?
  • Q5.使用具有Just Works安全协议的设备时, 没有绑定并且没有MITM保护,我们是否应该看到配对 对话吗?
  • Q1. Is it possible at all to have an android/ios app connect to a BLE device without a pairing request?
  • Q2. Does the bonding required for the BLE communication?
  • Q3. What is the downside of having the device with no bonding? Is it going to drop the connection while the app is running?
  • Q4. Who is the initiator or pairing dialog, the app, or the device?
  • Q5. When having the device with Just Works security protocol, with no bonding and no MITM protection, should we see a pairing dialog?

推荐答案

基于我们的工作成果和对这个问题的答案.

Based on what we got working and based on the answers to this question.

  • A1 :是的,如果未设置MITM并将安全性"方案设置为"Just Works",则可能完全没有安全性.
  • A2 :BLE通信不需要绑定.如果BLE设备无法存储Bond信息,则可能会导致一些问题.如果BLE设备能够存储和使用Bond信息,则建议使用Bond.
  • A3 :该连接不会关闭.我们唯一的缺点是现在重新连接需要花费更多时间.
  • A4 :该应用正在启动连接,但是仅当BLE设备要求某种类型的安全性(可能是MITM,加密,销)时,才会显示该对话框.答案很简单,可以通过更改BLE设备上的设置来避免配对对话框.
  • A5 :当设备具有Just Works安全协议,没有绑定且没有MITM保护时,不应显示配对对话框.在iOS和Android上都没有配对对话框的经验.
  • A1: Yes, it's possible if no MITM is set and the Security scheme is set to Just Works, which means no security at all.
  • A2: Bonding is not required for BLE communication. If the BLE device can't store the Bond information, it may lead to some issues as we got in our case. If the BLE device is able to store and use Bond information then it's recommended to Bond.
  • A3: The Connection will not be closed. The only downside we got is that now it takes a little more time to reconnect.
  • A4: The app is initiating the connection, but the dialog is shown only if the BLE device requests some type of security, it can be MITM, encryption, pin. Short answer, the pairing dialog can be avoided by changing the settings on the BLE device.
  • A5: When having the device with Just Works security protocol, with no bonding and no MITM protection the pairing dialog should not be presented. We got no pairing dialog experience on both iOS and Android.

这篇关于BLE<->是否需要绑定? Android,iOS设备通讯?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆