summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyuk Lee <hyuk0512.lee@samsung.com>2016-06-21 14:07:23 +0900
committerHyuk Lee <hyuk0512.lee@samsung.com>2016-06-21 14:07:50 +0900
commitcac184bc4bb7ccc45af1e2f744935ae1c2af883b (patch)
tree7ecd6f06ee3fa8b09a19673d9a34a5edbd25fabf
parentd797f2e7fca3532b841a49a778ad94a73ae5e448 (diff)
downloadbluetooth-accepted/tizen/common/20160621.184613.tar.gz
bluetooth-accepted/tizen/common/20160621.184613.tar.bz2
bluetooth-accepted/tizen/common/20160621.184613.zip
Change-Id: I6726b3eca849bc1165716ac37c1bb8ef92cdcc6b Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
-rw-r--r--src/bluetooth-gatt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bluetooth-gatt.c b/src/bluetooth-gatt.c
index cfbdf2a..be65794 100644
--- a/src/bluetooth-gatt.c
+++ b/src/bluetooth-gatt.c
@@ -2141,6 +2141,7 @@ int bt_gatt_server_set_characteristic_notification_state_change_cb(bt_gatt_h gat
{
bt_gatt_characteristic_s *chr = (bt_gatt_characteristic_s *)gatt_handle;
+ BT_CHECK_GATT_SUPPORT();
BT_CHECK_INIT_STATUS();
BT_CHECK_GATT_SERVER_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(gatt_handle);
@@ -2336,6 +2337,7 @@ int bt_gatt_server_notify_characteristic_changed_value(bt_gatt_h characteristic,
bluetooth_device_address_t addr_hex = { {0,} };
int ret = BT_ERROR_NONE;
+ BT_CHECK_GATT_SUPPORT();
BT_CHECK_INIT_STATUS();
BT_CHECK_GATT_SERVER_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(characteristic);
@@ -2378,6 +2380,7 @@ int bt_gatt_server_set_write_value_requested_cb(bt_gatt_h gatt_handle,
bt_gatt_characteristic_s *chr = (bt_gatt_characteristic_s *)gatt_handle;
bt_gatt_descriptor_s *desc = (bt_gatt_descriptor_s*)gatt_handle;
+ BT_CHECK_GATT_SUPPORT();
BT_CHECK_INIT_STATUS();
BT_CHECK_GATT_SERVER_INIT_STATUS();
BT_CHECK_INPUT_PARAMETER(gatt_handle);