开发者

Ping a Bluetooth device from an Android device

开发者 https://www.devze.com 2023-03-11 02:30 出处:网络
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开发者_如何学JAVA method.

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开发者_如何学JAVA method.

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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号