Hi I'm writing an Android app to connect to a BLE peripheral device. Android 4.4.2, Galaxy Nexus.
I have an LED on the device to indicate connection state.
The issue is the duration from connectGatt() call to the point of receiving onConnectionStateChange STATE_CONNECTED
are so inconsistent. Some time it is very quick but most of the time it takes 5s or more. Turning Bluetooth off/on does not have any effect.
I tried TI BTool on PC with the TI BLE Dongle and it always establishes connection very fast.
I also tried with an iPhone 5S and it is fast too.
- Any one has experienced this issue too?
- Is there any chance we can improve this?