Parent: 02c6fdc7d217560fd598393281ea23fa830503ea
Author: Marcin Kraglak <marcin.kraglak@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-05-15 17:22:16
Tree: 8d383a8cf9908191b28e5641431509bdab3376d5
android/gatt: Refactor ATT read operations This changes device info and gap services callbacks to use response queue. It will allow them work with plain read and read by type as well. This starts transition to single response data queue, which should be filled by various read type functions and processed in one place. This will unify the way that responses are send, regardless of data source (value taken directly from database, returned by read callback or sent from upper layers asynchronously). We will also introduce 'getter' type functions, using handles to retrieve data from database. This will make various read and find operations return handles instead of their own custom structures, different for every operation performed.
Diffstat
| M | android/gatt.c | | | 242 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
1 files changed, 208 insertions(+), 34 deletions(-)