You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
jeffnian88
changed the title
Can we have separate writeQueue for each serviceUUID and characteristicUUID ?
Can we have separate writeQueue for each serviceUUID or characteristicUUID ?
Apr 28, 2024
Describe the bug
In my application, we could connect to Two ble devices.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
see message A from device A
see message B from device B
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
And, after tracing the code in ios/swift,
we found the following code could be the root cause
https://github.com/innoveit/react-native-ble-manager/blob/master/ios/BleManager.swift#L549
https://github.com/innoveit/react-native-ble-manager/blob/master/ios/BleManager.swift#L576
it seems like that we use the same writeQueue here for two devices.
so, is it possible that we can rewrite the writeQueue here?
The text was updated successfully, but these errors were encountered: