diff options
author | Hyuk Lee <hyuk0512.lee@samsung.com> | 2016-06-21 14:07:23 +0900 |
---|---|---|
committer | Hyuk Lee <hyuk0512.lee@samsung.com> | 2016-06-21 14:07:50 +0900 |
commit | cac184bc4bb7ccc45af1e2f744935ae1c2af883b (patch) | |
tree | 7ecd6f06ee3fa8b09a19673d9a34a5edbd25fabf | |
parent | d797f2e7fca3532b841a49a778ad94a73ae5e448 (diff) | |
download | bluetooth-accepted/tizen/common/20160621.184613.tar.gz bluetooth-accepted/tizen/common/20160621.184613.tar.bz2 bluetooth-accepted/tizen/common/20160621.184613.zip |
Add the GATT support checksubmit/tizen/20160621.071537accepted/tizen/wearable/20160622.021638accepted/tizen/tv/20160622.021620accepted/tizen/mobile/20160622.021606accepted/tizen/ivi/20160622.021654accepted/tizen/common/20160621.184613
Change-Id: I6726b3eca849bc1165716ac37c1bb8ef92cdcc6b
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
-rw-r--r-- | src/bluetooth-gatt.c | 3 |
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); |