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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -