X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bt-api%2Finclude%2Fbt-common.h;h=231176b1f14fa5e2464c4ee72eb06b73467b8b8e;hb=92d30a83d0610031da3f7e7e33adfd6c713dd427;hp=e283430d8dfe986bd17b8ea359d880e3c95c350f;hpb=779a52726cf9b05824e8fa0e74e794c047e913ab;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git diff --git a/bt-api/include/bt-common.h b/bt-api/include/bt-common.h index e283430..231176b 100644 --- a/bt-api/include/bt-common.h +++ b/bt-api/include/bt-common.h @@ -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);