[Sensor] API merged ,removed and code refactoring. 34/189234/2 accepted/tizen/unified/20180918.062800 submit/tizen/20180916.233618 submit/tizen/20180917.042059
authorAbhishek Chandra <abhishek.ch@samsung.com>
Fri, 14 Sep 2018 11:21:43 +0000 (16:51 +0530)
committerAbhishek Chandra <abhishek.ch@samsung.com>
Sat, 15 Sep 2018 11:58:18 +0000 (17:28 +0530)
commitf3e9a14a547cb1af99f17fdefbab8f5a7d75a0a3
treea2cd89269087bdf5eb802d930768b61ae72aa6b7
parentd54db1eed167780129faa35ab878a03ce6622e7a
[Sensor] API merged ,removed and code refactoring.

Changes are:
1) Functionality bt_hrp_sensor_update_heartrate_value
and bt_hrp_sensor_set_heartrate_value  are merged to
bt_hrp_sensor_set_heartrate_value .
2) removed bt_hrp_sensor_advertising_state_changed_cb
as this is not needed for application.
3) functionality of bt_hrp_sensor_start is merged
in bt_hrp_sensor_create .
4) functionality of bt_hrp_sensor_stop is merged
in bt_hrp_sensor_distroy.
5) Connected collector list in the sensor is removed ,
as sensor side connected is already managed by Gatt
server , so it was redundant and hence removed .
6) bt_hrp_sensor_unset_sensor_notification_state_change_cb
is removed, as is not needed by application .

Change-Id: I93ba307a9a9f06aa4a80a77571b502df61ffdd95
Signed-off-by: Abhishek Chandra <abhishek.ch@samsung.com>
include/bluetooth_internal.h
include/bluetooth_type_internal.h
src/bluetooth-hrp.c [changed mode: 0755->0644]
test/bt_unit_test.c
test/bt_unit_test.h