NordicSemiconductor / Android-nRF-Toolbox

The nRF Toolbox is a container app that stores your Nordic Semiconductor apps for Bluetooth Low Energy in one location.
https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Toolbox
BSD 3-Clause "New" or "Revised" License
1.07k stars 461 forks source link

Notifications enabled using Write Command #33

Closed philips77 closed 7 years ago

philips77 commented 7 years ago

Prior to Android 6 there was a bug on Android. The gatt.writeDescriptor(descriptor) method was using parent characteristic's write type, instead of always using WRITE_DEFAULT (Write Request). nRF Toolbox was ensuring the write type for normal descriptor writes (see here), but this workaround wasn't applied during enabling notifications/indications (here, here and here). In all those cases it also should ensure correct write type.

samiraga commented 7 years ago

Hi @philips77 do you know if there is a reference for this issue on Google Issue Tracker?

philips77 commented 7 years ago

https://issuetracker.google.com/issues/37022798 how about this?

samiraga commented 7 years ago

Thanks @philips77