Detect a bluetooth device using android-beacon-library

旧时模样 提交于 2020-05-31 06:27:06

问题


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.


回答1:


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.

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.



来源:https://stackoverflow.com/questions/47956024/detect-a-bluetooth-device-using-android-beacon-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!