[HID Device] Fix connection refused with PTS 90/141790/1
authorAnurag Biradar <biradar.a@samsung.com>
Thu, 6 Jul 2017 06:26:46 +0000 (11:56 +0530)
committerAnurag Biradar <biradar.a@samsung.com>
Tue, 1 Aug 2017 11:16:56 +0000 (16:46 +0530)
commitcc8c8ba518e772cc0f2fe0294eacecf823c99d7c
tree6d398733a94f3af6683f338d40e305cdff5fa20e
parent2a49c17ffee50b1a8b4f31f4fb1782b6cf998836
[HID Device] Fix connection refused with PTS

[Model] COMMON
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A

[Problem] Bluez is refusing hid device role connection from PTS
[Cause & Measure] HID Host supporting device need not register itself in SDP.
While testing with PTS, it will not register any service in SDP record and
bluez will be able to probe for hid device service for that device because
of which connection is refused by bluez.
Measure: When hid device service is not found than forcefully probe hid device
role this will make sure of hid device service for remote device. And it can
procede with further connection
[Checking Method] Activate HID Device role -> execute test case
"HID/DEV/HCE/BV-01-I" in PTS.

[Team] Bluetooth
[Developer] Anurag B
[Solution company] Samsung
[Change Type] Code Change

Change-Id: I1d51816d74b57fb06b8c876a4139bbb06196bce3
profiles/input/device.c