static int __bt_get_bt_adapter_le_device_scan_info_s(bt_adapter_le_device_scan_result_info_s **scan_info, bluetooth_le_device_info_t *source_info);
static void __bt_free_bt_adapter_le_device_scan_info_s(bt_adapter_le_device_scan_result_info_s *scan_info);
+#if !defined(TIZEN_PROFILE_TV)
/* TDS Forward declarations */
static void __bt_free_tds_scan_result_info_s(bt_tds_transport_block_list_s *discovery_info);
+#endif
#if !defined(TIZEN_PROFILE_WEARABLE) && !defined(TIZEN_PROFILE_IVI)
static int __bt_get_bt_adapter_le_device_discovery_info_s(bt_adapter_le_device_discovery_info_s **le_discovery_info, bluetooth_le_device_info_t *source_info);
bt_le_data_length_params_t *data_length_info = NULL;
bt_ipsp_connection_info_t *bt_ipsp_iface_info = NULL;
bt_pxp_property_changed_params_t *bt_pxp_property_info = NULL;
+#if !defined(TIZEN_PROFILE_TV)
bluetooth_tds_activation_req_t *tds_act_req_info = NULL;
+#endif
if (!__bt_need_to_handle(event))
return;
if (is_pxp_initialized)
_bt_proximity_connection_set_state_changed(param->result, device_addr, TRUE);
+#if !defined(TIZEN_PROFILE_TV)
/* TDS Seeker */
_bt_tds_update_seeker_connection_state_changed(param->result, device_addr, TRUE);
-
+#endif
g_free(device_addr);
device_addr = NULL;
break;
if (is_pxp_initialized)
_bt_proximity_connection_set_state_changed(param->result, device_addr, FALSE);
+#if !defined(TIZEN_PROFILE_TV)
/* TDS Seeker */
_bt_tds_update_seeker_connection_state_changed(param->result, device_addr, FALSE);
+#endif
g_free(device_addr);
device_addr = NULL;
_bt_convert_address_to_string(&device_addr,
&service_change->device_addr);
+#if !defined(TIZEN_PROFILE_TV)
/* Check if TDS Service removed */
_bt_tds_check_service_changed(device_addr, service_change);
-
+#endif
client = _bt_gatt_get_client(device_addr);
g_free(device_addr);
device_addr = NULL;
free(device_addr); /* LCOV_EXCL_STOP */
break;
}
+#if !defined(TIZEN_PROFILE_TV)
case BLUETOOTH_EVENT_TDS_ACTIVATION_REQUESTED: {
BT_DBG("BLUETOOTH_EVENT_TDS_ACTIVATION_REQUESTED"); /* LCOV_EXCL_LINE */
tds_act_req_info = (bluetooth_tds_activation_req_t *)(param->param_data);
free(device_addr); /* LCOV_EXCL_STOP */
break;
}
+#endif
default:
BT_INFO("Unknown function");
break;
}
}
#endif
+
+#if !defined(TIZEN_PROFILE_TV)
/* TDS Provider Search: Uses Scan Info */
if (bt_event_slot_container[BT_EVENT_TDS_PROVIDER_FOUND_RESULT].callback != NULL) {
char *data = NULL;
}
}
}
-
+#endif
if (scan_info)
__bt_free_bt_adapter_le_device_scan_info_s(scan_info);
break;
scan_info = NULL;
} /* LCOV_EXCL_STOP */
+#if !defined(TIZEN_PROFILE_TV)
static void __bt_free_tds_scan_result_info_s(bt_tds_transport_block_list_s *discovery_info)
{
int k;
discovery_info = NULL;
}
+#endif
/* LCOV_EXCL_START */
#if !defined(TIZEN_PROFILE_WEARABLE) && !defined(TIZEN_PROFILE_IVI)