问题
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