Apply tizen 3.0 based product patchsets
[platform/core/connectivity/bluetooth-frwk.git] / bt-service / include / bt-service-device.h
old mode 100755 (executable)
new mode 100644 (file)
index caf2553..4a07f0f
@@ -74,19 +74,27 @@ void _bt_set_autopair_status_in_bonding_info(gboolean is_autopair);
 
 bt_remote_dev_info_t *_bt_get_remote_device_info(char *address);
 
-char *_bt_get_bonded_device_name(char *address);
+bt_remote_dev_info_t *_bt_get_remote_device_info_by_object_path(const char *object_path);
+
+char *_bt_get_device_name(const char *address);
 
 gboolean _bt_is_bonding_device_address(const char *address);
 
-int _bt_connect_le_device(int request_id,
-               const bluetooth_device_address_t *bd_addr,
+void _bt_pending_connect_le_device(void);
+
+int _bt_connect_le_device(int req_id, const bluetooth_device_address_t *bd_addr,
                gboolean auto_connect);
 
-int _bt_disconnect_le_device(int request_id,
+int _bt_disconnect_le_device(int req_id,
                const bluetooth_device_address_t *bd_addr);
 
-int _bt_le_conn_update(unsigned char *device_address,
-                               guint16 interval_min, guint16 interval_max,
+void _bt_add_le_connected_dev_info(const char *address);
+void _bt_remove_le_connected_dev_info(const char *address);
+int _bt_remove_all_le_conn_param_info(const char *sender);
+
+int _bt_le_conn_update(const char *sender,
+                               unsigned char *device_address,
+                               float interval_min, float interval_max,
                                guint16 latency, guint16 time_out);
 
 int _bt_get_le_connection_parameter(bluetooth_le_connection_mode_t mode,
@@ -95,8 +103,28 @@ int _bt_get_le_connection_parameter(bluetooth_le_connection_mode_t mode,
 int _bt_connect_profile(char *address, char *uuid,
                                                void *cb, gpointer func_data);
 
+int _bt_disconnect_all(char *address);
+
 int _bt_disconnect_profile(char *address, char *uuid,
                                                void *cb, gpointer func_data);
+
+int _bt_request_att_mtu(int request_id, bluetooth_device_address_t *device_address,
+                                                               unsigned int mtu);
+
+int _bt_get_att_mtu(bluetooth_device_address_t *device_address,
+                                                               unsigned int *mtu);
+
+int _bt_get_device_ida(bluetooth_device_address_t *device_address,
+                                                       bluetooth_device_address_t *id_address);
+
+int _bt_set_trust_profile(bluetooth_device_address_t *bd_addr,
+               bluetooth_trusted_profile_t profile, gboolean trust);
+
+int _bt_get_trust_profile(bluetooth_device_address_t *bd_addr,
+               bluetooth_trusted_profile_t profile, guint *trust);
+
+bluetooth_trusted_profile_t _bt_get_trusted_profile_enum(const char *uuid);
+
 int _bt_connect_le_ipsp_device(const bluetooth_device_address_t *bd_addr);
 
 int _bt_disconnect_le_ipsp_device(const bluetooth_device_address_t *bd_addr);