默认情况下是否可以发现启用BLE的设备? [英] Are BLE-enabled devices discoverable by default?

查看:62
本文介绍了默认情况下是否可以发现启用BLE的设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试做与此类似的事情 answer ),它表明设备只有在发射数据包时才能被发现信息.

I am looking to do something similar to this question, based on the answer it suggests that devices are only discoverable if they are emitting packets of information.

我想了解的是,默认情况下,像移动电话(iOS/Android)这样的设备会发送这些可发现的数据包吗?还是需要对其进行配置(例如通过应用程序)以显式地宣传自己或数据的某些部分?

What I would like to understand is, do devices like mobile phones (iOS/Android) send these discoverable packets by default? Or would they need to be configured (e.g. via an app) to explicitly advertise themselves or some bits of data?

推荐答案

否,默认情况下无法发现它们.

No, they are not discoverable by default.

蓝牙4.x规范定义了两种可发现的模式:

Vol 3 of the Bluetooth 4.x spec defines two discoverable modes:

  • 9.2.3-受限的可发现模式

受限可发现模式通常在以下情况下使用用户执行特定操作以使设备在有限的时间内可被发现时间段.

The limited discoverable mode is typically used when a user performs a specific action to make the device discoverable for a limited period of time.

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