#define BT_AGENT_INTERFACE "org.bluez.Agent1"
-
+#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"
BT_AUDIO,
BT_AVRCP,
BT_HF,
+#ifndef GATT_DIRECT
+ BT_GATT_SERVER,
+#endif
} bt_user_info_type_t;
typedef struct {
void _bt_opp_client_event_cb(int event, int result, void *param,
void *callback, void *user_data);
+#ifndef GATT_DIRECT
+void _bt_gatt_server_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);
int _bt_get_adapter_path(GDBusConnection *conn, char *path);
char *_bt_get_device_object_path(char *address);
-int _bt_connect_profile(char *address, char *uuid, void *cb,
+int _bt_connect_profile(char *address, const char *uuid, void *cb,
gpointer func_data);
-int _bt_disconnect_profile(char *address, char *uuid, void *cb,
+int _bt_disconnect_profile(char *address, const char *uuid, void *cb,
gpointer func_data);
int _bt_cancel_discovers(char *address);
void _bt_convert_device_path_to_address(const char *device_path,
char *device_address);
-#ifdef RFCOMM_DIRECT
+#ifdef TIZEN_FEATURE_BT_RFCOMM_DIRECT
void _bt_rfcomm_server_free_all();
gboolean _check_uuid_path(char *path, char *uuid);
void _bt_hdp_app_remove_obj_info(unsigned int channe_id);
int _bt_hdp_app_acquire_fd(bt_hdp_connected_t *conn_info);
+bluetooth_device_info_t *_bt_get_device_info_in_message(GVariant *parameters, int *ret);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */