Removing redundant pressure sensor events 72/35572/7
authorVibhor Gaur <vibhor.gaur@samsung.com>
Wed, 18 Feb 2015 12:34:15 +0000 (18:04 +0530)
committerVibhor Gaur <vibhor.gaur@samsung.com>
Mon, 23 Feb 2015 08:43:12 +0000 (00:43 -0800)
commit13e0b7b261fd2b46f918a651761d51233bf8616e
tree693f1925877139c78d485f1b678aaee4a08a47a9
parent3ef120f1e032d5a74fc1daaf2f25cffb23236132
Removing redundant pressure sensor events

PRESSURE_BASE_DATA_SET and PRESSURE_EVENT_RAW_DATA_REPORT_ON_TIME were the same PRESSURE_BASE_DATA_SET has been removed.
PRESSURE_BASE_DATA_SET was used for polling events and PRESSURE_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 PRESSURE_EVENT_RAW_DATA_REPORT_ON_TIME has been renamed to PRESSURE_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: I6d4a0c81787dab67b3f61a2c511b181c50a763d1
src/libsensord/client_common.cpp
src/libsensord/sensor_pressure.h
src/pressure/pressure_sensor.cpp
test/src/auto_test.c
test/src/tc-common.c