RxBluetooth
RxBluetooth copied to clipboard
Android reactive bluetooth
Hi! I have problem with next: 1) I do close connect with BluetoothConnection and recive next exception to RX onError -> com.github.ivbaranov.rxbluetooth.exceptions.ConnectionClosedException Can't read stream at com.github.ivbaranov.rxbluetooth.BluetoothConnection$1.subscribe(BluetoothConnection.java88) at io.reactivex.internal.operators.flowable.FlowableCreate.subscribeActual(FlowableCreate.java72) at...
How do you wait for new connection? Do I have use RxBluetooth.observeConnectionState + RxBluetooth.observeConnectDevice?