capi-sensor: merge tizen 2.3 capi to public 21/33921/6 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/common/20150126.084337 accepted/tizen/mobile/20150128.051434 accepted/tizen/tv/20150126.090008 accepted/tizen/wearable/20150126.111146 submit/tizen/20150122.074344 submit/tizen/20150124.064355
authorKibak Yoon <kibak.yoon@samsung.com>
Fri, 16 Jan 2015 13:37:18 +0000 (22:37 +0900)
committerKibak Yoon <kibak.yoon@samsung.com>
Wed, 21 Jan 2015 08:00:46 +0000 (17:00 +0900)
commit792636269f94a15b9765e0f1c387289f573eacbd
tree116a9bf26625e13ae9125aad6eedb44d0a08060f
parent536527ac22998472146e004b6ccdb8476a444576
capi-sensor: merge tizen 2.3 capi to public

the features of tizen 2.3 Sensor API are the followings:
* in Tizen 2.2, the API set was seperately for each sensor. so this API
  set(start, stop, setting interval and so on) was added when each sensor
  added. in Tizen 2.3, they are consolidated to 1 API set. sensor is
  managed by handle and enumeration type.
  ie. sensor_(accelerometer)_start() APIs
      -> sensor_listener_start(acc_handle) API
  - if new sensor type is added, simply fix only two lines.
* added two APIs for getting sensor handle(s)
  ie. sensor_get_default_sensor, sensor_get_sensor_list APIs
* added new sensors.
  ie. pressure sensor, ultraviolet sensor and so on.
* removed some sensors.
  ie. motion sensor(managing it is moved to context-service)
* cleaned up the code.

see the doxygen for more information on those APIs:
https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.apireference/group__CAPI__SYSTEM__SENSOR__MODULE.html

Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Change-Id: I9a6b6a042075e941a2e6e4ee8d63149bbc463d01
18 files changed:
AUTHORS [deleted file]
CMakeLists.txt
LICENSE.APLv2 [moved from LICENSE with 100% similarity, mode: 0644]
capi-system-sensor.manifest [new file with mode: 0644]
capi-system-sensor.pc.in
doc/sensor_doc.h [new file with mode: 0644]
include/sensor_log.h [new file with mode: 0644]
include/sensor_private.h
include/sensors.h [changed mode: 0755->0644]
packaging/capi-system-sensor.manifest
packaging/capi-system-sensor.spec
phone_facedown.png [deleted file]
phone_panning.png [deleted file]
phone_snap.png [deleted file]
src/fusion_util.cpp [moved from src/fusion_util.c with 86% similarity]
src/geomanetic_field.cpp [moved from src/geomanetic_field.c with 91% similarity, mode: 0644]
src/sensor.c [deleted file]
src/sensor.cpp [new file with mode: 0644]