react-native-ble-plx icon indicating copy to clipboard operation
react-native-ble-plx copied to clipboard

Question: Is the "operation timeout" configurable?

Open amduffy19 opened this issue 3 years ago • 1 comments

Occasionally when I try to read RSSI it times out with an "operation timed out" error. I'm still trying to find the cause, but in the meantime I was wondering if this operation timeout was configurable? I'd like to time out more quickly and just try again. Thank you!

amduffy19 avatar Jun 11 '21 17:06 amduffy19

I don't think this is configurable. However, I had an issue where often reading RSSI of multiple devices would result in at least one readRSSI() call timing out. At the time I was firing off each readRSSI within promises so they'd be asynchronous. Once I changed to calling readRSSI() synchronously (waiting for each read) there were no more timeouts.

jimboboliver avatar Oct 22 '21 04:10 jimboboliver

I'm excited to inform you that we've released a new version of react-native-ble-plx. Many of the concerns and bugs have been addressed in this update.

If you encounter any issues or have further suggestions, please don't hesitate to open a new issue.

abursztynowska avatar Oct 06 '23 08:10 abursztynowska