Fix the rfcomm server's callback issue
[platform/core/connectivity/bluetooth-frwk.git] / bt-oal / bluez_hal / src / bt-hal-dbus-common-utils.h
index 7b9e945..e0716da 100644 (file)
@@ -61,12 +61,10 @@ extern "C" {
 #define BT_HAL_LOWER_ADDRESS_LENGTH 9
 #define BT_HAL_AGENT_NEW_LINE "\r\n"
 
-#define BT_HAL_HARDWARE_ERROR "HardwareError"
-#define BT_HAL_TX_TIMEOUT_ERROR "TxTimeoutError"
-
 #define BT_HAL_VERSION_LENGTH_MAX       30 /**< This specifies bluetooth device version length */
 #define BT_HAL_INTERFACE_NAME_LENGTH        16
 #define BT_HAL_DEVICE_NAME_LENGTH_MAX       248 /**< This specifies maximum device name length */
+#define BT_HAL_PATH_NAME_LENGTH_MAX       248 /**< This specifies maximum path name length */
 #define BT_HAL_DEVICE_PASSKEY_LENGTH_MAX       50 /**< This specifies maximum length of the passkey */
 #define BT_HAL_ADVERTISING_DATA_LENGTH_MAX   31 /**< This specifies maximum AD data length */
 #define BT_HAL_SCAN_RESP_DATA_LENGTH_MAX     31 /**< This specifies maximum LE Scan response data length */
@@ -86,6 +84,7 @@ extern "C" {
 
 #define BT_HAL_HARDWARE_ERROR "HardwareError"
 #define BT_HAL_TX_TIMEOUT_ERROR "TxTimeoutError"
+#define BT_HAL_DBFW_PLUS_INFO "BrcmEnhancedDBFWInfo"
 
 #define BT_HAL_FREEDESKTOP_INTERFACE "org.freedesktop.DBus"
 #define BT_HAL_FREEDESKTOP_PATH "/org/freedesktop/DBus"
@@ -117,6 +116,10 @@ extern "C" {
 #define BT_HAL_NAME_OWNER_CHANGED "NameOwnerChanged"
 #define BT_HAL_PROPERTIES_CHANGED "PropertiesChanged"
 
+#define BT_HAL_HID_SERVICE_NAME "org.bluez.hid_agent"
+#define BT_HAL_HID_AGENT_OBJECT_PATH "/org/bluez/hid_agent"
+#define BT_HAL_HID_SERVICE_INTERFACE "org.tizen.HidApp"
+
        /**
         * This is Bluetooth error code
         */
@@ -440,8 +443,10 @@ extern "C" {
        gboolean _bt_hal_is_adapter_powered(gboolean *powered);
 
        char *_bt_hal_get_device_object_path(char *address);
-       void _bt_hal_convert_device_path_to_address(const char *device_path, char *device_address);
 
+       GDBusProxy *_bt_hal_get_hid_agent_proxy(void);
+
+       void _bt_hal_convert_device_path_to_address(const char *device_path, char *device_address);
        void _bt_hal_convert_addr_string_to_type(unsigned char *addr, const char *address);
        void _bt_hal_convert_addr_type_to_string(char *address, const unsigned char *addr);
        void _bt_hal_convert_uuid_string_to_type(unsigned char *uuid, const char *device_uuid);
@@ -481,8 +486,6 @@ extern "C" {
 
        char * _bt_hal_convert_disc_reason_to_string(int reason);
 
-       int _bt_hal_convert_disc_reason_to_status(int reason);
-
 #ifdef __cplusplus
 }
 #endif /* __cplusplus */