Dear Everyone!
I am using RxBluetoothKit library to connect bluetooth to peripheral devices. But now, when I read data from 1 characteristics, in call back I did not read another characteristics.
My code is as follows:
viewDidAppearSubject
.take (1)
.flatMap {self.bluetoothProvider.getValueUpdates (for: charator2102)}
.subscribe (
onNext: {
if $ 0 == "2103" {
self.read2103 ()
}
print ($ 0)
},
onError: {_ in self.showError ()}
)
.disposed (by: disposeBag)
When I receive data of charator2102, I cannot read more data of charactor2103 anymore.
Hope everyone help me!
Thanks very much!