Removing redundant geomagnetic sensor events 75/35575/4
authorVibhor Gaur <vibhor.gaur@samsung.com>
Mon, 23 Feb 2015 09:30:28 +0000 (15:00 +0530)
committerVibhor Gaur <vibhor.gaur@samsung.com>
Mon, 23 Feb 2015 09:41:52 +0000 (15:11 +0530)
commitfd18dd470ca9f29ac0b9c842a81a809bf1430516
tree02fd76214a57e347ca5759f26d69f19d9d159aed
parent13e0b7b261fd2b46f918a651761d51233bf8616e
Removing redundant geomagnetic sensor events

GEOMAGNETIC_BASE_DATA_SET and GEOMAGNETIC_EVENT_RAW_DATA_REPORT_ON_TIME were the same GEOMAGNETIC_BASE_DATA_SET has been removed.
GEOMAGNETIC_BASE_DATA_SET was used for polling events and GEOMAGNETIC_EVENT_RAW_DATA_REPORT_ON_TIME was used for event driven.
Since both these represent the same pressure event, DATA_SET type has been removed.

And GEOMAGNETIC_EVENT_RAW_DATA_REPORT_ON_TIME has been renamed to GEOMAGNETIC_RAW_DATA_EVENT to make it simpler.

The change has been tested on rd-pq device for all sensord API and all API were found to be working.

Change-Id: Idacbdd970cb3d701ee7fbb0a882b7899fffc9fce
src/geo/geo_sensor.cpp
src/libsensord/client_common.cpp
src/libsensord/sensor_geomag.h
src/orientation/orientation_sensor.cpp
src/rotation_vector/geomagnetic_rv/geomagnetic_rv_sensor.cpp
src/rotation_vector/rv/rv_sensor.cpp
src/server/command_worker.cpp
test/src/auto_test.c
test/src/tc-common.c