History log of /external/bluetooth/bluedroid/bta/hh/bta_hh_le.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b9912730d082c7bca7d94bb9ddac4447cfad362f 13-Nov-2013 Zhihai Xu <zhihaixu@google.com> DO NOT MERGE BLE HID device connection failure due to security error.

When HID BLE device start encryption, if some other GATT application
already start encryption(but not finished yet) by calling
gatt_security_check_start. The HID BLE device will be failed to start
encryption, which will cause it to disconnect the BLE HID connection.
The solution is to check whether we already started the encryption
, If the encryption is already started, wait until the encryption
finished, then continue to start security check for BLE HID device.
add encrytion complete event to notify all GATT client encryption done.
filter the event just for BTA HH LE GATT client.

bug:11636246
Change-Id: If58e57c623cc8cfa05208587b010bec68c71306c
/external/bluetooth/bluedroid/bta/hh/bta_hh_le.c
ae6028ad26ef92f14dccaf3ea03fe07837ce50fd 16-Nov-2013 Zhihai Xu <zhihaixu@google.com> DO NOT MERGE Remove the device from le backgrond connection whitelist when it's unpaired

this is due to we didn't remove the device from the white list before unpair
Which cause a fake pair request from remote device triggered
right after the acl is disconnected.
The fix is to remove the BLE device from whitelist before unpair.
Also fix a problem return wrong device handle from bta_hh_le_add_device.

if bta_hh_le_add_device is called right after reboot, before we connect HID device.
This is normally true for a previous paired device, which we saved in the nvram.
The wrong device handle will cause the removing HID device from while list failed
after unpair the HID device.

bug:11676338
Change-Id: Id5b45b2829da9a990dfd1dbae0c15764b16c2bfb
/external/bluetooth/bluedroid/bta/hh/bta_hh_le.c
fb10ec3af9a0c690d2fbfe50c31821a7e242a26e 18-Dec-2013 Zhihai Xu <zhihaixu@google.com> DO NOT MERGE Can only support two HID report instance for BLE HID.

The follwoing code cause this problem:
BTA_HH_LE_RPT_INST_ID_MAP(s,c)=(UINT8)(((s)<<4)||(c))
The code use || instead of |, this cause we can only generate
two instance HID report 0 and 1(false and true).

bug:12213520
Change-Id: If6b7cfd9633255401aef12aafd918ee147f256b6
/external/bluetooth/bluedroid/bta/hh/bta_hh_le.c
fb1552a28f067ff4af23d24a79949cb8ff309bc0 18-Dec-2013 Zhihai Xu <zhihaixu@google.com> DO NOT MERGE read report array out of boundary for BLE HID device.

report array out of boundary when read HID report reference
descriptor for BLE HID device.

bug:12208657
Change-Id: Ic60fd7555045f367b4fcd606510f52f60e36995e
/external/bluetooth/bluedroid/bta/hh/bta_hh_le.c
dbba0e652e0ce23dd691df3c03979ec6e32c8db3 08-Nov-2013 Matthew Xie <mattx@google.com> Replace Broadcom proprietary license header with apache 2 header

bug 11591406

Change-Id: Ibb9c6b3865e6d757236f1c5896775bb6f28e47be
/external/bluetooth/bluedroid/bta/hh/bta_hh_le.c
03d685233071eb9faa390f85869775d1058a0279 24-Oct-2013 Zhihai Xu <zhihaixu@google.com> Merge "Do not deregister HH GATT IF in bta_gattc_disable for hid over GATT" into klp-dev
36b686527892172cb44091d160b7d2806d49fc76 23-Oct-2013 Zhihai Xu <zhihaixu@google.com> Do not deregister HH GATT IF in bta_gattc_disable for hid over GATT

The root cause is bta_gattc_disable de-register the HH GATT IF
which cause bta_hh_cleanup_disable called
before we receive BTA_HH_INT_CLOSE_EVT.
The fix is "don't deregister HH GATT IF in bta_gattc_disable and
let HH module to de-register the HH GATT IF by bta_hh_le_deregister".
because HH GATT IF is a special GATT IF
which won't be exposed to uplayer and
HH GATT IF belong to BTA HH module, it should be managed by BTA HH.
bug:11284861

Change-Id: Ia14cd2be3f3548a4d1e2dcfbc89fa3a75d9651db
/external/bluetooth/bluedroid/bta/hh/bta_hh_le.c
0ef5e93291bd4c6d8dedfd012cc27ee7c9b30c0d 22-Oct-2013 Andre Eisenbach <andre@broadcom.com> LE: Only prepend valid HID report IDs

If a remote HOGP device does not supply a valid report ID, do not
prepend it to the HID report.

This fixes interop issues with various LE mice, where the cursor would
not move on screen as expected.
BLTH02618447

Bug:11342157
Change-Id: I7832bb091654a5625f37b1531bd80fad9bbe6a51
/external/bluetooth/bluedroid/bta/hh/bta_hh_le.c
2e7fa68bfd9723b7ec7b6b0b128d89f31a2e06ee 09-Aug-2013 Andre Eisenbach <andre@broadcom.com> LE: Add support for the HID-over-GATT profile (1/3)

bug:8330048
Change-Id: I5727161b0a87700487bee96cdffa8fd169034204
/external/bluetooth/bluedroid/bta/hh/bta_hh_le.c