RxBluetooth
RxBluetooth copied to clipboard
Android reactive bluetooth
Hi Is there any way to perform pairing pin? My target device is HC-05 module that requires pin to connect.
Baixei o projeto e abri no Android Studio, mas não funciona
rxBluetooth.connectAsClient ANR
I am getting following exception when I'm not able to connect to bluetooth device and then I navigate to some other page. Is there any way to catch this exception...
Disposing observeStringStream() doesnot cancel the subscriber from observeByteStream() causing exception when trying to close connection. > Caused by: com.github.ivbaranov.rxbluetooth.exceptions.ConnectionClosedException: Can't read stream. Start reading string stream: ` Disposable disposable =...
Hi when i try to make a connection with a device it gives me this error > read failed, socket might closed or timeout, read ret: -1 After making a...
` Parcelable[] uuids = intent.getParcelableArrayExtra(BluetoothDevice.EXTRA_UUID); ` UUIDs sometimes can call NPE.
In observeConnectDevice method you need to check if emitter is not disposed before send error or onNext. Please change this code ```emitter.onError(e)``` to next ```if (emitter.isDisposed.not()) emitter.onError(e)```
when bluetoothSocket.connect(); log: getBluetoothService() called with no BluetoothManagerCallback java.io.IOException: read failed, socket might closed or timeout, read ret: -1