Connecting requires multiple retries
Since upgrading the firmware to the latest version I have difficulties connecting to the board. Using the Cordova plugin I need to call the connect function multiple times (most calls fail with "ERROR"). Looking in the android log using logcat I see the following exception:
java.lang.RuntimeException: onConnectionStateChanged reported non-zero status: 133
After multiple tries it works. It also seems to affect the MetaWear app, connecting takes a long time (I guess the app tries the connect multiple times after errors?).
Is there something I'm missing/overlooking, or is something else wrong?
TiA!
Note: I'm not sure if this is related to the firmware, that might just be a coincidence.
This discussion has been closed.
Comments
at com.mbientlab.metawear.MetaWearBleService$2$2.run(MetaWearBleService.java:991)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)