Commit: 08e6aadd83049ae457c9a07649d73796184825b5
Parent: a49fa76fa8651aafd11dc0c6bb6130220fc1bed9
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-10-31 10:55:43
Tree: d23906020acada7ef1ab9451da1c0cde18a00d7c

android/hal: Add support for repacking received IPC data to HAL data Some HAL defined types that are passed as type-len-value in properties callback needs to be repacked at runtime to match defined types. This is due to HAL using data types without strict refined sizes like enums or unpacked structures. This is needed only if data is passed as TLV. With data passed to callbacks as parameters compiler will handle types convertion. Currently only enum types are supported.

Diffstat

M android/hal-bluetooth.c | 104 ++++++++++++++++++++++++++++++++++++++++- - - - - - - -

1 files changed, 96 insertions(+), 8 deletions(-)

View Full Diff | Patch