*
* @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);
/**
* @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
*
* @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);
/**
* @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
*
* @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);
/**
* @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
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);