Bluettoth connection
Metawear board doesn't connect with my custom app for first time, however once connect board with metawear app and then disconnect and reconnect with my app, it connects instantly. I have implemented the same module and code which is there in metawear sample.
- Tested with many Android phones and versions
- updated firmware version
- check permissions (android.permission.BLUETOOTH_ADMIN" , android.permission.BLUETOOTH" )
Please guide me what is there that i am missing or should be done to establish reliable connection like metawear app.
- Tested with many Android phones and versions
- updated firmware version
- check permissions (android.permission.BLUETOOTH_ADMIN" , android.permission.BLUETOOTH" )
Please guide me what is there that i am missing or should be done to establish reliable connection like metawear app.
This discussion has been closed.
Comments
Error connectingjava.util.concurrent.TimeoutException: Board connection timed out
at
com.mbientlab.metawear.MetaWearBleService$GattConnectionState$1.run(MetaWearBleService.java:239)
at
android.app.ActivityThread.main(ActivityThread.java:6334)
at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)