Descriptionbluetooth: Refactor code that checks if device/service/characteristic is in cache
The code to check if device/service/characteristic is in cache is
currently used by many functions and will be used by
startNotification and stopNotification. To stop repeating
the code we refactored it.
I believe the code could be further simplified by using a more generic
call to record function outcomes. But for now this would make
the implementation of startNotification and stopNotification easier.
BUG=529560
Patch Set 1 #
|