Implement local LE features adapter property 15/186215/1
authorAnupam Roy <anupam.r@samsung.com>
Wed, 8 Aug 2018 06:13:29 +0000 (11:43 +0530)
committerAnupam Roy <anupam.r@samsung.com>
Wed, 8 Aug 2018 06:13:29 +0000 (11:43 +0530)
commita695ed44017c1888a021ad1fbc729000f4e5a9dd
tree753b6ac538aaab3663b81e4ef897440e16d6d29c
parent0ead8e17bea63cc795120c4e4ff4bbc065ba5c24
Implement local LE features adapter property

This patch handles Adapter's local LE features property
which will indicate whether adapter supports LE 2M PHY
and LE CODED PHY. This property is emitted by bluetoothd
as adapter's property changed event and handled in
bluetooth HAL layer. LE features are further propagated to
bt-service via new OAL event OAL_EVENT_BLE_LOCAL_FEATURES.
LE features will be finally saved in bt-service daemon.
Application can read these values directly from bt-service.

Change-Id: I9e1b617851693b7bab038a9f10861c6bf3ba8835
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
bt-oal/bluez_hal/src/bt-hal-adapter-dbus-handler.c
bt-oal/bluez_hal/src/bt-hal-adapter-le.c
bt-oal/bluez_hal/src/bt-hal-adapter-le.h
bt-oal/bluez_hal/src/bt-hal-event-receiver.c
bt-oal/bluez_hal/src/bt-hal-utils.c
bt-oal/common/oal-utils.c
bt-oal/hardware/bluetooth.h
bt-oal/include/oal-event.h
bt-oal/oal-adapter-mgr.c
bt-service-adaptation/services/adapter/bt-service-core-adapter-le.c
bt-service-adaptation/services/bt-service-event-receiver.c