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
I'm encountering what appears to be a deadlock when I have two active connections (different peripheral devices) that poll on the remote RSSI. It looks to me like Android can fail to callback with the remote RSSI. When that occurs, Kable waits indefinitely for that callback, blocking subsequent synchronous operations over the connection (e.g. peripheral.write). Note that Kable is still providing our app with updates from notifications (e.g. onCharacteristicChanged from Android).
Please let me know if there is additional information that I can provide.
The text was updated successfully, but these errors were encountered:
Does this only happen when you have 2 (or more) active peripheral connections? In other words, do you ever see this issue with only a single peripheral connected?
@twyatt -- happy new year! we're starting to plan around a feature that will need to read RSSI while connected. I just wanted to touch base to see what you thought about the timing for this. We can fork and dig into it, but would only really want to do that if you think this bug is further out.
I have two big-ish projects for work that take priority, so I'm guessing I won't have a lot of time to dedicate to Kable for at least a month.
I try to find time off hours to patch bugs, but this one may require a bit of investigation. Anything you can do to add clarity to the issue would be super helpful.
main
.I'm encountering what appears to be a deadlock when I have two active connections (different peripheral devices) that poll on the remote RSSI. It looks to me like Android can fail to callback with the remote RSSI. When that occurs, Kable waits indefinitely for that callback, blocking subsequent synchronous operations over the connection (e.g.
peripheral.write
). Note that Kable is still providing our app with updates from notifications (e.g.onCharacteristicChanged
from Android).Please let me know if there is additional information that I can provide.
The text was updated successfully, but these errors were encountered: