gatt client adaptation feature changes bt-api bt-service OAL
[platform/core/connectivity/bluetooth-frwk.git] / bt-api / include / bt-common.h
index e283430..231176b 100644 (file)
@@ -226,11 +226,6 @@ extern "C" {
 #define BT_ERROR_INVALID_FILE_DESCRIPTOR "Invalid File Descriptor"
 #define BT_ERROR_ACCESS_DENIED "Rejected send message"
 
-#ifndef GATT_DIRECT
-#define BT_MAX_USER_INFO 6
-#else
-#define BT_MAX_USER_INFO 5
-#endif
 #define RFKILL_EVENT_SIZE 8
 #define RFKILL_NODE "/dev/rfkill"
 
@@ -263,6 +258,11 @@ typedef enum {
 #ifndef GATT_DIRECT
        BT_GATT_SERVER,
 #endif
+
+#ifdef TIZEN_GATT_CLIENT
+       BT_GATT_CLIENT,
+#endif
+       BT_MAX_USER_INFO
 } bt_user_info_type_t;
 
 typedef struct {
@@ -305,6 +305,11 @@ void _bt_gatt_server_event_cb(int event, int result, void *param,
                void *callback, void *user_data);
 #endif
 
+#ifdef TIZEN_GATT_CLIENT
+void _bt_gatt_client_event_cb(int event, int result, void *param,
+               void *callback, void *user_data);
+#endif
+
 void _bt_divide_device_class(bluetooth_device_class_t *device_class,
                                unsigned int cod);