#include "bt-service-device-internal.h"
#include "bt-service-event.h"
#include "bt-service-event-receiver.h"
-#ifdef TIZEN_GATT_CLIENT
#include "bt-service-gatt.h"
-#endif
#include "bt-service-headset-connection.h"
#include "bt-service-main.h"
#ifdef TIZEN_MDM_ENABLE
static int dbfw_rssi;
-#ifdef TIZEN_GATT_CLIENT
typedef struct {
char *address;
float interval_min;
#define BT_LE_CONN_INTERVAL_SPLIT 1.25 /* msec */
static void _bt_handle_le_connected_dev_info(const char *address, gboolean connected);
-#endif
/* Forward declaration */
static void __bt_device_event_handler(int event_type, gpointer event_data);
/* Update local cache */
_bt_update_remote_dev_property(address, DEV_PROP_CONNECTED, (void *)&conn_info);
-#ifdef TIZEN_GATT_CLIENT
/*handle LE connected device info*/
if (type)
_bt_handle_le_connected_dev_info(address, connected);
-#endif
-
}
static void __bt_device_remote_device_found_callback(gpointer event_data, gboolean is_ble)
case BT_PROFILE_CONN_HFG:
svc_id = HFP_SERVICE_ID; /* Remote is HFP AG Unit */
break;
-#ifdef TIZEN_GATT_CLIENT
case BT_PROFILE_CONN_GATT:
return _bt_is_remote_gatt_device_connected(device_address); /* Remote is GATT client or Server */
-#endif
default:
BT_DBG("Unknown svc_type: %d", svc_type);
return FALSE;
return result;
}
-#ifdef TIZEN_GATT_CLIENT
static bt_connected_le_dev_t *__bt_get_le_connected_dev_info(const char *address)
{
GSList *l = NULL;
return FALSE;
}
-#endif