OSDN Git Service

ble: use appearance uuid to determine class of device
authorAdam Hampson <ahampson@google.com>
Fri, 30 May 2014 22:07:08 +0000 (15:07 -0700)
committerAdam Hampson <ahampson@google.com>
Fri, 30 May 2014 22:10:23 +0000 (15:10 -0700)
commite6c7450a2addbb856e68b66a726b71286f809b19
treeabcf4310ac08214a8686be344beff1b2bb94d669
parentabd4701bf12b6c3b9b1ca4e26795a81c90cd6018
ble: use appearance uuid to determine class of device

The current code is inferring the cod of a ble hid device based on
the service type.  This change uses the appearance uuid to map to
to an equivalent cod.

Bug: 15346094

Change-Id: I6ab2c49bc5e7e956a285c9684ddefb339944a3dc
Signed-off-by: Adam Hampson <ahampson@google.com>
stack/btm/btm_ble_gap.c
stack/include/btm_ble_api.h