我的项目是一个Android应用程序,它在一些设备中与一个A& D设备与BLE
进行通信,但是在其他设备上,绑定状态在连接期间发生了变化。
这是我的日志:
10-12 11:28:02.740 23750-23750 / tn.telnet.health D / BluetoothGatt: writeDescriptor() - uuid:00002902-0000-1000-8000-00805f9b34fb 10-12 11:28:02.740 23750-23750 / tn.telnet.health D / BluetoothLeService: 成功描述符写10-12 11:28:02.740 23750-23750 / tn.telnet.health D / BluetoothGatt: setCharacteristicNotification() - uuid: 00002a9d-0000-1000-8000-00805f9b34fb enable:true 10-12 11:28:02.740 23750-23750 / tn.telnet.health D / BluetoothLeService:通知 已成功启用10-12 11:28:03.861 23750-23750 / tn.telnet.health I / BluetoothStatusReciever: * ACTION_BOND_STATE_CHANGED 11 12 10-12 11:28:03.881 23750-23750 / tn.telnet.health E / RefreshMenuItemHelper:startLoading 10-12 11:28:03.911 23750-23750 / tn.telnet.health E / RefreshMenuItemHelper:stopLoading 10-12 11:28:04.021 23750-24200 / tn.telnet.health D / BluetoothGatt: onCharacteristicWrite() - Device = 5C:31:3E:01:18:C8 UUID = 00000000-0000-0000-0000-000000000000状态= 137 10-12 11:28:04.021 23750-23750 / tn.telnet.health I / BluetoothStatusReciever: ACTION_BOND_STATE_CHANGED * 12 11 10-12 11:28:04.051 23750-23750 / tn.telnet.health E / RefreshMenuItemHelper:startLoading 10-12 11:28:04.071 23750-23750 / tn.telnet.health E / RefreshMenuItemHelper:stopLoading 10-12 11:28:08.215 23750-23762 / tn.telnet.health D / BluetoothGatt: onClientConnectionState() - status = 0 clientIf = 5 装置= 5C:31:3E:01:18:C8 10-12 11:28:08.215 23750-23762 / tn.telnet.health I / BluetoothLeService:断开连接 GATT服务器。 10-12 11:28:08.245 23750-23750 / tn.telnet.health E / BleScaleAutomaticFragment:动作gatt断开10-12 11:28:08.245 23750-23750 / tn.telnet.health E / BleScaleAutomaticFragment: 停止扫描10-12 11:28:08.245 23750-23750 / tn.telnet.health D / BluetoothAdapter:stopLeScan()
另一个问题是UUID为UUID=00000000-0000-0000-0000-000000000000
且状态为137