1

I faced following issue: I need to check is the paired device via Bluetooth present and availbale to communicate. When I start startInquiry method from DiscoveryAgent, it retrieves all available devices without paired ones

thanks for any help

2 Answers 2

3

A hackish solution would be to start DiscoveryAgent.searchServices() for that paired device and if you don't get even a single service then you can say that the device is not available for communication.

0
0

The method BluetoothSerialPort.getSerialPortInfo returns only the paired devices.

1
  • 1
    Thanks for answer, but..OK I will receive the list of paired devices, but how can I check, are they near my local device, and are they available?
    – Taras
    Feb 15, 2012 at 15:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.