cordova-plugin-rfduino icon indicating copy to clipboard operation
cordova-plugin-rfduino copied to clipboard

Android discover problems

Open lllooo opened this issue 9 years ago • 1 comments

Hi,

i have problems discovering rfduinos on android , soemtimes it works, sometimes not. (about every second time i hit the button) once found & connected everything works fine

no idea what could cause the problem. logcat gives me this.

W/PluginManager(19641): THREAD WARNING: exec() call to RFduino.discover blocked the main thread for 17ms. Plugin should use CordovaInterface.getThreadPool().

cordova 5.1.1 android 4.0.2 moto g2

Thanks for the great Plugin!

lllooo avatar Aug 12 '15 13:08 lllooo

Unfortunately I think BLE can just be flaky, especially on older version of Android. If you increase the scan time, you might see better results.

don avatar Sep 17 '15 04:09 don