Ping a Bluetooth device from an Android device

旧巷老猫 提交于 2019-12-08 06:47:53

问题


I would like to know if a Bluetooth device given its MAC address is available (on and within reach) or not. Something like a ping, some quick method.

I tried to check by trying to establish a connection but it takes up to 12 seconds. Do you know any faster way?


回答1:


If the device you are looking for is discoverable then doing a device discovery is probably the most efficient.



来源:https://stackoverflow.com/questions/6281231/ping-a-bluetooth-device-from-an-android-device

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