문제

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....

올바른 솔루션이 없습니다

다른 팁

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top