omaraflak / Bluetooth-Library

Bluetooth client library for Android.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bluetooth.getDevice is not available in update version

badarshahzad opened this issue · comments

Hi
I updated to the new version and I made changes what you refacter the name of methods. But I found in updated version the Bluetooth object doesn't have .getDevice method. Could you tell me how I can get this method call?

Hi.
Indeed I removed it in recent versions of the library. Unfortunately I can't change the code right now, I'm having troubles with my computer.

What you can do is to keep track of the BluetoothDevice object in onDevicePaired callback.

Your last version working perfect except the searching but you made the library now bit different now I am facing difficulty to integrate with it. 👍