I'm working with code that's programmed using the Native BLE APIs. It has its own queue implementation for sending/writing characteristics. But I've also had the need to implement a second peripheral which I did use RxAndroidBle. Since it has its own queue(ClientOperationQueue) for connections and sending/writing, do I need to worry about any conflicts or commands being lost? These peripherals need to be connected at the same time as well and perform reads/writes. I'd like to avoid touching the working code if possible.
Asked
Active
Viewed 44 times
1 Answers
0
The restriction of only allowing one operation at a time is per BluetoothGatt/BluetoothGattServer object. So you should be fine using two separate Bluetooth codes in your app.

Emil
- 16,784
- 2
- 41
- 52
-
Thanks you, there's also your answer here regarding re-connecting which answers my question: https://stackoverflow.com/questions/28016571/robustly-communicating-with-multiple-ble-devices-simultaneously-on-android – dman224 Apr 10 '23 at 17:16