4
我創建了一個WRITE_TYPE_NO_RESPONSE特性的外設。 與另一個應用程序,我寫的特點,但我有一個偶然的問題與三星galaxy nexus i9250與棒棒糖5.1.1: 有時函數BluetoothGatt.writeCharacteristic返回false,寫入沒有完成。bluetoothGatt writeCharacteristic返回false
它可能是什麼?它可能是氰基模的錯嗎?我能以什麼方式修補這個問題?
在peripherall:
new BluetoothGattCharacteristic(
UUID.fromString(characteristic),
BluetoothGattCharacteristic.PROPERTY_WRITE_NO_RESPONSE ,
BluetoothGattCharacteristic.PERMISSION_WRITE);
編輯:發生這個問題只與Android> = 5.0.2
從來沒有發生過的奇巧和在Android 5.0.1,是一個因果?