oo大海oo 2016-10-14 08:46 采纳率: 0%
浏览 2316
已结题

蓝牙连接成功后获取特征错误

10-14 16:38:54.556 25888-25899/com.bywin_app D/BluetoothGatt﹕ discoverServices() - device: 01:01:60:80:00:01
10-14 16:38:54.566 25888-25888/com.bywin_app I/[Gralloc]﹕ gralloc_unregister_buffer line 259 size180224 base0x63524000 phys_addr0 share_fd77 usage0x933 ion_hnd_debug0x4
10-14 16:38:54.566 25888-25888/com.bywin_app I/[Gralloc]﹕ gralloc_unregister_buffer line 259 size180224 base0x63581000 phys_addr0 share_fd124 usage0x933 ion_hnd_debug0xb
10-14 16:38:54.576 25888-25888/com.bywin_app I/[Gralloc]﹕ gralloc_unregister_buffer line 259 size180224 base0x63550000 phys_addr0 share_fd123 usage0x933 ion_hnd_debug0x8
10-14 16:38:54.656 25888-25888/com.bywin_app I/[Gralloc]﹕ gralloc_register_buffer line 204 size102400 base0x63524000 phys_addr0 share_fd121 usage0x933 ion_hnd_debug0x4
10-14 16:38:54.676 25888-25888/com.bywin_app I/[Gralloc]﹕ gralloc_register_buffer line 204 size102400 base0x6353d000 phys_addr0 share_fd123 usage0x933 ion_hnd_debug0xb
10-14 16:38:56.606 25888-25888/com.bywin_app I/[Gralloc]﹕ gralloc_unregister_buffer line 259 size102400 base0x63524000 phys_addr0 share_fd121 usage0x933 ion_hnd_debug0x4
10-14 16:38:56.606 25888-25888/com.bywin_app I/[Gralloc]﹕ gralloc_unregister_buffer line 259 size102400 base0x6353d000 phys_addr0 share_fd123 usage0x933 ion_hnd_debug0xb
10-14 16:38:56.966 25888-25900/com.bywin_app D/BluetoothGatt﹕ onGetService() - Device=01:01:60:80:00:01 UUID=00001800-0000-1000-8000-00805f9b34fb
10-14 16:38:56.976 25888-25960/com.bywin_app D/BluetoothGatt﹕ onGetService() - Device=01:01:60:80:00:01 UUID=00001801-0000-1000-8000-00805f9b34fb
10-14 16:38:56.986 25888-25899/com.bywin_app D/BluetoothGatt﹕ onGetService() - Device=01:01:60:80:00:01 UUID=00001802-0000-1000-8000-00805f9b34fb
10-14 16:38:56.996 25888-25900/com.bywin_app D/BluetoothGatt﹕ onGetService() - Device=01:01:60:80:00:01 UUID=000000fe-0000-1000-8000-00805f9b34fb
10-14 16:38:57.006 25888-25960/com.bywin_app D/BluetoothGatt﹕ onGetService() - Device=01:01:60:80:00:01 UUID=000000aa-0000-1000-8000-00805f9b34fb
10-14 16:38:57.016 25888-25899/com.bywin_app D/BluetoothGatt﹕ onGetCharacteristic() - Device=01:01:60:80:00:01 UUID=00002a00-0000-1000-8000-00805f9b34fb
10-14 16:38:57.016 25888-25900/com.bywin_app D/BluetoothGatt﹕ onGetCharacteristic() - Device=01:01:60:80:00:01 UUID=00002a01-0000-1000-8000-00805f9b34fb
10-14 16:38:57.016 25888-25960/com.bywin_app D/BluetoothGatt﹕ onGetCharacteristic() - Device=01:01:60:80:00:01 UUID=00002a04-0000-1000-8000-00805f9b34fb
10-14 16:38:57.016 25888-25899/com.bywin_app D/BluetoothGatt﹕ onGetCharacteristic() - Device=01:01:60:80:00:01 UUID=00002a05-0000-1000-8000-00805f9b34fb
10-14 16:38:57.016 25888-25900/com.bywin_app D/BluetoothGatt﹕ onGetCharacteristic() - Device=01:01:60:80:00:01 UUID=00002a06-0000-1000-8000-00805f9b34fb
10-14 16:38:57.026 25888-25960/com.bywin_app D/BluetoothGatt﹕ onGetCharacteristic() - Device=01:01:60:80:00:01 UUID=000000ff-0000-1000-8000-00805f9b34fb
10-14 16:38:57.026 25888-25899/com.bywin_app D/BluetoothGatt﹕ onGetCharacteristic() - Device=01:01:60:80:00:01 UUID=000000ab-0000-1000-8000-00805f9b34fb
10-14 16:38:57.026 25888-25900/com.bywin_app D/BluetoothGatt﹕ onGetDescriptor() - Device=01:01:60:80:00:01 UUID=00002902-0000-1000-8000-00805f9b34fb
10-14 16:38:57.026 25888-25960/com.bywin_app D/BluetoothGatt﹕ onGetDescriptor() - Device=01:01:60:80:00:01 UUID=00000000-0000-1000-8000-00805f9b34fb
10-14 16:38:57.026 25888-25899/com.bywin_app D/BluetoothGatt﹕ onGetDescriptor() - Device=01:01:60:80:00:01 UUID=00000000-0000-1000-8000-00805f9b34fb
10-14 16:38:57.026 25888-25900/com.bywin_app D/BluetoothGatt﹕ onSearchComplete() = Device=01:01:60:80:00:01 Status=0
10-14 16:38:57.026 25888-25900/com.bywin_app D/BluetoothGatt﹕ setCharacteristicNotification() - uuid: 000000ff-0000-1000-8000-00805f9b34fb enable: true
10-14 16:38:57.226 25888-25888/com.bywin_app D/BluetoothGatt﹕ readCharacteristic() - uuid: 000000ff-0000-1000-8000-00805f9b34fb
10-14 16:38:57.536 25888-25888/com.bywin_app D/BluetoothGatt﹕ writeCharacteristic() - uuid: 000000ab-0000-1000-8000-00805f9b34fb
10-14 16:38:58.166 25888-25888/com.bywin_app E/BluetoothGatt﹕ android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.bluetooth.IBluetoothGatt$Stub$Proxy.writeCharacteristic(IBluetoothGatt.java:1091)
at android.bluetooth.BluetoothGatt.writeCharacteristic(BluetoothGatt.java:888)
at com.bywin_app.util.Bluetooth$4$2.run(Bluetooth.java:247)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5135)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:798)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:614)
at dalvik.system.NativeStart.main(Native Method)

  • 写回答

1条回答 默认 最新

  • 徐福记456 2016-10-14 12:38
    关注

    这里有个Error,应该是某个对象已经不存在引起的异常。是不是连接成功后,中途又断开连接了。
    com.bywin_app E/BluetoothGatt﹕ android.os.DeadObjectException
    at android.os.BinderProxy.transact(Native Method)

    评论

报告相同问题?

悬赏问题

  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题