Parent: 20c6a6cd64fcbd6166ced434e34dc4f1d4d50837
Author: Jakub Tyszkowski <jakub.tyszkowski@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2015-01-13 15:46:53
Tree: a71c7ae3b1da267752251fb1ffe64fdaf17fedf1
android/tester: Add macro improving pdu send procedure As of now when we want to send response from remote device, we compose pdu from handle and value, which are then copied into fixed size pdu with predefined header. With this macro we will be able to pass up to 3 iovectors which are then send without additional copying. It also quite generic and can be used to any other kind of data processing nad not only for sending pdus.
Diffstat
| M | android/tester-gatt.c | | | 2 | +- |
| M | android/tester-main.h | | | 13 | +++++++++++- - |
2 files changed, 12 insertions(+), 3 deletions(-)