OSDN Git Service

Bluetooth: DIS: Only read the requested DIS characteristics
authorAdam Hampson <ahampson@google.com>
Fri, 25 Jul 2014 20:39:11 +0000 (13:39 -0700)
committerAdam Hampson <ahampson@google.com>
Mon, 28 Jul 2014 15:43:52 +0000 (15:43 +0000)
commit9b57f0802ec52f9169ebbd164c6f104724190ec1
treeb435171381fb9ff738eadac1c64310ea5661ef97
parent6e2d9db5148176d88d7f48c3b2ad5b27c57ca14d
Bluetooth: DIS: Only read the requested DIS characteristics

The BLE HID code only uses the PNP_ID characteristic from DIS.
Previously the DIS client would read all DIS characteristics
when a read request was made.  This change allows the DIS user to
request certain DIS characteristics.

Bug: 16521059

Change-Id: I09c24718bb2e2da73c518b64c3cbdd07e7d6cf27
Signed-off-by: Adam Hampson <ahampson@google.com>
bta/hh/bta_hh_le.c
stack/include/srvc_api.h
stack/srvc/srvc_dis.c
stack/srvc/srvc_dis_int.h