connectAsync() problem

My android app connects two MetaMotionR.
"Sometimes" connectAsync() does not completes during reconnecting.

I guess the problem is readCharacteristic() or writeCharacteristic().
( please see https://stackoverflow.com/questions/26268713/android-ble-oncharacteristicread-appears-to-be-blocked-by-thread)

same problem on Nexus5, Galaxy S6, Galaxy Note 4...

Comments

  • connectAsync always completes. Whether or not it is successful is another matter.

  • Ok then. Why would the size of pendingGattOps in BtleService increase infinitely?

  • It doesn't. If that is what you are seeing, posting some debug logs / traces / reproduction steps would be helpful.

This discussion has been closed.