From: TaeminYeom Date: Mon, 6 Mar 2023 08:03:34 +0000 (+0900) Subject: Add sensor handle attribute API in client_dummy X-Git-Tag: accepted/tizen/7.0/unified/20230327.042618^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3fae23cc7cb453b97ec86efcfe6aebee58e9222;p=platform%2Fcore%2Fsystem%2Fsensord.git Add sensor handle attribute API in client_dummy In commit 61dc1c262c1c ("Add sensor handle attribute"), new libsensor APIs were added but not added in client_dummy. For supporting TV profile, it is needed. Added libsensor API -sensord_set_attribute_int -sensord_get_attribute_int Change-Id: Ib1b3bdac89f38b7ad01256734d93b51d2973cfda Signed-off-by: TaeminYeom --- diff --git a/src/client-dummy/client_dummy.cpp b/src/client-dummy/client_dummy.cpp index 0d157e8a..9dd527e9 100644 --- a/src/client-dummy/client_dummy.cpp +++ b/src/client-dummy/client_dummy.cpp @@ -218,6 +218,16 @@ API int sensord_listener_get_attribute_str(int handle, int attribute, char **val return OP_ERROR; } +API int sensord_set_attribute_int(sensor_t sensor, int attribute, int value) +{ + return OP_ERROR; +} + +API int sensord_get_attribute_int(sensor_t sensor, int attribute, int* value) +{ + return OP_ERROR; +} + API bool sensord_send_sensorhub_data(int handle, const char *data, int data_len) { return false;