Parent: 5049de306a222e4ceee6e2fd8113dd25a93e42fd
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Szymon Janc <szymon.janc@tieto.com>
Date: 2014-12-14 21:14:59
Tree: 5fe58af1b737a0b81649292ece4be83b1c165f87
android/gatt: Fix incorrect UUID conversion Android framework requires 128 bit UUIDs to be passed to it. It was expected that bt_string_to_uuid() creates 128bit UUID if passed string was in 128bit format. Since e5af5138 "lib/uuid: Simplify BT base UUIDs when possible" this is no longer valid. Resulting UUID was shortened and Android Framework didn't recognized it. This results in non-working HoG and possibly other GATT profiles. Fix this by explicitly converting UUID to 128bit before accessing u128 data.
Diffstat
| M | android/gatt.c | | | 12 | +++++++- - - - - |
1 files changed, 7 insertions(+), 5 deletions(-)