I'm trying to read message using Bluetooth low energy. when (characteristic.getProperties() & BluetoothGattCharacteristic.PROPERTY_READ) == 0, the onCharacteristicRead will never be called. Now the characteristic.getProperties() = 16 and BluetoothGattCharacteristic.PROPERTY_READ is 2, 2&16=0; is there anyways to make (characteristic.getProperties() & BluetoothGattCharacteristic.PROPERTY_READ) != 0
If you know the way, please tell me it.
Thanks!