Android BLE characteristic read/Write failed in Lollipop but worked in Kitkat -
as per title able read/write data in below lollipop in lollipop many times getting read/write fails.
this how doing read/write data:
boolean isread= getmbluetoothgatt().readcharacteristic(characteristic);
in lollipop devices getting isread false many times works on non lollipop os.
does 1 has faced such problem ? answer appreciated. thanks.
one of reasons of api calls defined in android kitkat (apilevel 19) have been deprecated in lollipop versions(api level 22) updated , additional features.you can go through developer portal
https://developer.android.com/about/versions/android-5.0.html#wireless know more.
Comments
Post a Comment