【发布时间】:2014-11-16 14:53:12
【问题描述】:
Android BLE 问题
一旦我的设备从 GATT 服务器接收到数据,在一次接收到数据后,它就会断开连接。或无法接收通知。我尝试了多种不同的方法,但没有任何效果。 我也阅读了整个网址.. Android 4.3 Bluetooth Low Energy unstable
【问题讨论】:
标签: android bluetooth-lowenergy
Android BLE 问题
一旦我的设备从 GATT 服务器接收到数据,在一次接收到数据后,它就会断开连接。或无法接收通知。我尝试了多种不同的方法,但没有任何效果。 我也阅读了整个网址.. Android 4.3 Bluetooth Low Energy unstable
【问题讨论】:
标签: android bluetooth-lowenergy
这个问题经过很多努力解决了。我的问题是在一次读取特征应用程序后与 GATT 服务器断开连接。现在我提出了解决方案:在 BLE 服务类 onCharacteristicsRead 方法中我设置了
setCharacteristicNotification( BluetoothGattCharacteristic 特征,启用布尔值)
为真。这对我来说很好..
【讨论】: