Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0bc2d3ed authored by Himanshu Rawat's avatar Himanshu Rawat
Browse files

Prefer to connect HOGP, rather than HID if Hid-over-GATT service is

found but not HID service on the remote device.

When HID host is requested to make connection with the remote device, it
always prefers to connect over BR/EDR irrespective of whether the HID
service is offered over LE or BR/EDR.
If a remote device offers HIDS over LE but not HID device role over
BR/EDR and it is connected over BR/EDR and LE transports, DUT attempts
to connect over BR/EDR. As a result HID connection always fail.

Solution is to select transports based on following order of preference:
1. BR/EDR transport and HID device role -> BR/EDR
2. LE transport and HIDS service -> LE
3. HID device role -> BR/EDR
4. HIDS service -> LE
5. BR/EDR transport -> BR/EDR
6. LE transport or device type is LE_Only -> LE
7. -> BR/EDR

Bug: 235145397
Test: Manual
Change-Id: I6c39b48c0822540f64e0fb09f2938853cf8d5c04
parent bf75e93f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment