Commit: 26ba19064dd40adb4359587cd3cff2479883ad48
Parent: 6a92a05be30733fe28af80e578dad187d4b12c45
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-10-31 15:00:14
Tree: 585068f621d3cda728dc534b852fa67c33f924cb

android/hid: Add handling of HAL_EV_HID_CONN_STATE This patches generate proper events when the connection state changes: >hidhost connect BlueZ D: android/hal-hidhost.c:hh_connect() connection_state_cb: bd_addr= connection_state=BTHH_CONN_STATE_CONNECTING if_hh->connect: BT_STATUS_SUCCESS connection_state_cb: bd_addr= connection_state=BTHH_CONN_STATE_CONNECTED >hidhost disconnect BlueZ D: android/hal-hidhost.c:hh_disconnect() connection_state_cb: bd_addr= connection_state=BTHH_CONN_STATE_DISCONNECTING if_hh->disconnect: BT_STATUS_SUCCESS connection_state_cb: bd_addr= connection_state=BTHH_CONN_STATE_DISCONNECTED

Diffstat

M android/hid.c | 46 +++++++++++++++++++++++++++++++++++++++- - - - - - -

1 files changed, 39 insertions(+), 7 deletions(-)

View Full Diff | Patch