使用android-beacon-library检测蓝牙设备 [英] Detect a bluetooth device using android-beacon-library

查看:288
本文介绍了使用android-beacon-library检测蓝牙设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 android-beacon-library 发现附近的信标,它工作正常且非常可靠.是否可以使用相同的库来检测Android设备的蓝牙信号?我找不到任何可靠的方法来发现附近的蓝牙设备,这就是为什么我要使用此库.

I am using android-beacon-library to discover nearby Beacons and it is work fine and very reliable. Is it possible to use the same library to detect the Bluetooth signal of an Android device? I couldn't find any good reliable method to discover the nearby Bluetooth devices, that's why I want to use this library.

推荐答案

该库经过优化,可检测一种非常特殊的Bluetooth LE设备-就像库名称所提示的那样,是一个信标.它并非旨在检测更多常规的非信标蓝牙设备.

The library is optimized to detect a very specific kind of Bluetooth LE device -- a beacon as the library name would suggest. It is not designed to detect more general non-beacon Bluetooth devices.

还可以使用该库使Android设备发送信标信号.如果这样做,则其他设备上的相同库将检测到这些信标传输.

It is also possible to use the library to make Android devices transmit a beacon signal. If they do so, then the same library on other devices will detect those beacon transmissions.

这篇关于使用android-beacon-library检测蓝牙设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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