有界和无界设备有什么区别? [英] what is the difference between bounded and unbounded device?

查看:295
本文介绍了有界和无界设备有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是iOS和BLE的新手,如果这个问题非常基础,请耐心等待。

I’m new to both iOS and BLE, so kindly bear with me if this question is very basic.

有界和无界设备之间有什么区别?我正在为iOS中的BLE使用 CBCentralManager ,我正试图找出如何通过 CBCentralManager 。

What is the distinction between bounded and unbounded devices? I’m working with CBCentralManager for BLE in iOS, and I’m trying to figure out how to pair them through CBCentralManager.

推荐答案

你不需要做任何不同的应用程序,iOS会在需要时处理绑定。

You don't need to do anything different app, iOS will handle the binding if required.

有界连接与iOS设备配对。一旦限制,他们将无法与任何其他设备通信。边界由操作系统(iOS)控制。当需要有界连接的设备与iOS设备通信时,iOS设备将显示一个警报视图,询问您是否要连接到该设备。

Bounded connections are in a way "paired" to the iOS device. Once bounded they will not communicate to any other device. Bounding is controlled by the operating system (iOS). When a device that requires a bounded connection communicates with a iOS device, the iOS device will present a alert view asking if you wish to connect to the device.

无界设备是不断广播他们的服务,并允许任何iOS设备连接到它。设备不会绑定到特定的iOS设备,并且可以在其他时间自由连接到其他iOS设备。这是大多数BT4.0传感器的正常/推荐方法。

Unbounded devices are continually broadcast their services and allows any iOS device to connect to it. The device will not bind to the specific iOS device and is free to connect to another iOS device at another time. This is the normal/recommended method for most BT4.0 sensors.

对于这两种情况,应用程序通常会存储UUID,以便它可以建立到同一设备的连接时间。

For both cases the application would normally store the UUID so it can establish the connection to the same device next time.

注意:虽然无界设备未与iOS设备配对,但它们一次只能与单个iOS设备通信。

NOTE: Although unbounded devices are not "paired" with the iOS device, they will only communicate with a single iOS device at any one time.

这篇关于有界和无界设备有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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