sensor-plugin-tm1: modify HAL interface for support sensorhub HAL 46/58746/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 3 Feb 2016 07:46:38 +0000 (16:46 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 3 Feb 2016 07:46:38 +0000 (16:46 +0900)
commitf2583e70043f13c710380d5cdbc894cfb3029f44
tree60864c1669a4b0db75f80d3f278697e7504e8b16
parentd2edb7a2987c4868c401391dcd1f4fad8a9e7149
sensor-plugin-tm1: modify HAL interface for support sensorhub HAL

* HAL has to be based on 1 device(it means that it is looking at 1 node)
* If the device manufacturer make a HAL only, he can operate the device.

* Interface of HAL has to be more considered.

* Implementation of accelerometer HAL has to be cleaned
  - sensorhub-related code is unnecessary on the reference target(TM1)
  - managing of sensor config should be refactored

Change-Id: I05bb4fbc837e2e6836026b95da6fdd9c4b9e6363
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/interface/sensor_hal.h
src/interface/sensor_hal_base.h
src/lib/sensor_common.h
src/plugins/accel/accel_sensor_hal.cpp
src/plugins/accel/accel_sensor_hal.h