Parent: f6b9be29da983b5f1f6c5d6927693bad012c5064
Author: Lukasz Rymanowski <lukasz.rymanowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-06-06 07:05:40
Tree: c6a56117d5848b0097f9fa33890f48990a5aca23
android/gatt: Handle prepare and execute write Once remote device sends write execute we need to notify all the server applications with this. Application will send response on this and once we collect all the responses we should send execute write response to remote device This is initial version of handling execute write. Still many corner cases have to be handled. Some of them seems to be not easy to solve with existing BT HAL API e.g. BlueZ sends execute write to couple of server applications and one of them reply with error. According to spec execute write shall be atomic. In scenario that one server out of many replies with error makes this write not atomic. There is no way to handle it with current BT HAL API.
Diffstat
| M | android/gatt.c | | | 112 | ++++++++++++++++++++++++++++++++++++++++- - - - - - |
1 files changed, 106 insertions(+), 6 deletions(-)