Modify the type name for gatt request 26/85826/7
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 29 Aug 2016 08:05:59 +0000 (17:05 +0900)
committerPyun DoHyun <dh79.pyun@samsung.com>
Tue, 6 Sep 2016 04:30:36 +0000 (21:30 -0700)
Change-Id: Icd738d34aeef05ebd8c7c65aaba80a0a41f7b842
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
include/mobile/bluetooth.h
include/mobile/bluetooth_type.h
include/tv/bluetooth.h
include/tv/bluetooth_type.h
include/wearable/bluetooth.h
include/wearable/bluetooth_type.h
src/bluetooth-gatt.c

index 538be672f16c19dff8a67bac73a763af2f1cabd3..8b4f0acdf8488dc590840d871e53a8faddf402eb 100644 (file)
@@ -5066,7 +5066,7 @@ int bt_gatt_server_start(void);
  *
  * @see bt_gatt_server_read_value_requested_cb()
  */
-int bt_gatt_server_send_response(int request_id, bluetooth_gatt_att_request_type_e request_type,
+int bt_gatt_server_send_response(int request_id, bt_gatt_att_request_type_e request_type,
                        int offset, int resp_status, char *value, int value_length);
 
 /**
index e783de5154054a83177e0c52cf38978dec387c21..a7b65843a8d9f02436352a0ebcf5a1c8a57a64ca 100644 (file)
@@ -716,9 +716,9 @@ typedef enum {
  * @since_tizen 3.0
  */
 typedef enum {
-       BLUETOOTH_GATT_REQUEST_TYPE_READ = 0x00, /* Read Requested */
-       BLUETOOTH_GATT_REQUEST_TYPE_WRITE = 0x01, /* Write Requested */
-} bluetooth_gatt_att_request_type_e;
+       BT_GATT_REQUEST_TYPE_READ = 0x00, /* Read Requested */
+       BT_GATT_REQUEST_TYPE_WRITE = 0x01, /* Write Requested */
+} bt_gatt_att_request_type_e;
 
 /**
  * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_PANU_MODULE
index e727c23d6398103da1bd72d152f94efbec9e508e..f4b702e065f0333c82ffcc4749550efdcbedf00d 100644 (file)
@@ -5067,7 +5067,7 @@ int bt_gatt_server_start(void);
  *
  * @see bt_gatt_server_read_value_requested_cb()
  */
-int bt_gatt_server_send_response(int request_id, bluetooth_gatt_att_request_type_e request_type,
+int bt_gatt_server_send_response(int request_id, bt_gatt_att_request_type_e request_type,
                        int offset, int resp_status, char *value, int value_length);
 
 /**
index e6aedcd8d696c5e3e56c7bcafb66f391e84583bc..69c70a6ec90f99f39fcaa1605b4bcb796edb95d0 100644 (file)
@@ -716,9 +716,9 @@ typedef enum {
  * @since_tizen 3.0
  */
 typedef enum {
-       BLUETOOTH_GATT_REQUEST_TYPE_READ = 0x00, /* Read Requested */
-       BLUETOOTH_GATT_REQUEST_TYPE_WRITE = 0x01, /* Write Requested */
-} bluetooth_gatt_att_request_type_e;
+       BT_GATT_REQUEST_TYPE_READ = 0x00, /* Read Requested */
+       BT_GATT_REQUEST_TYPE_WRITE = 0x01, /* Write Requested */
+} bt_gatt_att_request_type_e;
 
 /**
  * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_PANU_MODULE
index c2807668045f488ce92377b9b0b63c0936752f1e..70a56c0584e7cebd1f35c0a5ae722acf56b36b55 100644 (file)
@@ -4718,7 +4718,7 @@ int bt_gatt_server_start(void);
  *
  * @see bt_gatt_server_read_value_requested_cb()
  */
-int bt_gatt_server_send_response(int request_id, bluetooth_gatt_att_request_type_e request_type,
+int bt_gatt_server_send_response(int request_id, bt_gatt_att_request_type_e request_type,
                        int offset, int resp_status, char *value, int value_length);
 
 /**
index cc950c93feae50497d6399752b9e60c6b880d5cc..37d6a86633dd06eabbba1e3c32b0223f65b2e54f 100644 (file)
@@ -715,9 +715,9 @@ typedef enum {
  * @since_tizen 3.0
  */
 typedef enum {
-       BLUETOOTH_GATT_REQUEST_TYPE_READ = 0x00, /* Read Requested */
-       BLUETOOTH_GATT_REQUEST_TYPE_WRITE = 0x01, /* Write Requested */
-} bluetooth_gatt_att_request_type_e;
+       BT_GATT_REQUEST_TYPE_READ = 0x00, /* Read Requested */
+       BT_GATT_REQUEST_TYPE_WRITE = 0x01, /* Write Requested */
+} bt_gatt_att_request_type_e;
 
 /**
  * @ingroup CAPI_NETWORK_BLUETOOTH_PAN_PANU_MODULE
index b9eee1fb519b88254e0b2585d966d00d2af0908b..9881f8cef05bdd08cf42ef29ff760fc0d889f7ff 100644 (file)
@@ -2577,13 +2577,13 @@ int bt_gatt_server_start(void)
        return ret;
 }
 
-int bt_gatt_server_send_response(int request_id, bluetooth_gatt_att_request_type_e request_type,
+int bt_gatt_server_send_response(int request_id, bt_gatt_att_request_type_e request_type,
                int offset, int resp_status, char *value, int value_length)
 {
        int ret = BT_ERROR_NONE;
        BT_CHECK_INIT_STATUS();
 
-       if (request_type == BLUETOOTH_GATT_REQUEST_TYPE_READ &&
+       if (request_type == BT_GATT_REQUEST_TYPE_READ &&
                resp_status == BT_ERROR_NONE) {
                BT_CHECK_INPUT_PARAMETER(value);