Question

using the sample_apk_icsActivity app supplied in the motorola ICS R2 add-on, i am able to successfully connect to my BLE peripheral running the HRM profile.... i then create new BluetoothGattService object, at which time discovery of characteristics appears to begin....

using a packet sniffer, everything appears "normal".... at the end of the characteristic discovery process -- when i'd expect a callback through my IBluetoothGattProfile.Stub, i see a log message from the underlying BluetoothService reporting a DeadObjectException.... from the prior log messages, it would appear the service did find some characteristics and was preparing to give me callback....

again, i've been using the motorola sample app "as is"....

thanks....

No correct solution

OTHER TIPS

You may have a concurrency issue. Where are you getting Gatt from ? If you send him to an another thread, he might have been destroyed in his original one.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top