Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/226.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android Readable特性为false_Android_Bluetooth Lowenergy_Characteristics - Fatal编程技术网

Android Readable特性为false

Android Readable特性为false,android,bluetooth-lowenergy,characteristics,Android,Bluetooth Lowenergy,Characteristics,我正在尝试使用蓝牙低能量阅读信息。 当(characteristic.getProperties()&BluetoothGattCharacteristic.PROPERTY\u READ)==0时,将永远不会调用onCharacteristicRead。现在characteristic.getProperties()=16,BluetoothGattCharacteristic.PROPERTY_READ为2,2&16=0; 有没有办法使(characteristic.getPropertie

我正在尝试使用蓝牙低能量阅读信息。 当(characteristic.getProperties()&BluetoothGattCharacteristic.PROPERTY\u READ)==0时,将永远不会调用onCharacteristicRead。现在characteristic.getProperties()=16,BluetoothGattCharacteristic.PROPERTY_READ为2,2&16=0; 有没有办法使(characteristic.getProperties()&BluetoothGattCharacteristic.PROPERTY\u READ)!=0

如果你知道路,请告诉我


谢谢

外围设备决定角色应该具备的能力。您无法从客户端更改该特性。

外围设备决定该特性应具备的能力。你不能从客户端改变这一点。

嘿,我也面临着同样的问题。有什么解决办法吗?嘿,我也面临着同样的问题。有什么解决办法吗?