According to the header, I can successfully read / write data below the candy, but in lollipop many times I get the message “Read / Write”.
This is how I do read / write data:
boolean isRead= getmBluetoothGatt().readCharacteristic(characteristic);
on lollipop devices, I get isRead as false many times, but it works fine on non lollipop os.
Has anyone encountered such a problem? The answer will be very grateful. Thank.
, API, Android Kitkat (APIlevel 19), Lollipop ( API 22) .
https://developer.android.com/about/versions/android-5.0.html#Wireless, .
bluetooth, android Lollipop, Kitkat. Lollipop . Bluetooth-, . gatt- , gatt, . , 2 . Bluetooth.
Nexus 9.