sdp_record_t *record;
struct avrcp_server *server;
+ if (TIZEN_FEATURE_BLUEZ_DA && !TIZEN_FEATURE_BLUEZ_FHUB) {
+ DBG("AVRCP Target not supported in DA (non-fhub) product");
+ return -1;
+ }
+
DBG("path %s", adapter_get_path(adapter));
server = find_server(servers, adapter);
sdp_record_t *record;
struct avrcp_server *server;
+ if (TIZEN_FEATURE_BLUEZ_DA && !TIZEN_FEATURE_BLUEZ_FHUB) {
+ DBG("AVRCP Controller not supported in DA (non-fhub) product");
+ return -1;
+ }
+
DBG("path %s", adapter_get_path(adapter));
server = find_server(servers, adapter);
static bool endpoint_init_a2dp_source(struct media_endpoint *endpoint, int *err)
{
+ if (TIZEN_FEATURE_BLUEZ_DA && !TIZEN_FEATURE_BLUEZ_FHUB) {
+ DBG("A2DP source not supported in DA (non-fhub) product");
+ return FALSE;
+ }
+
endpoint->sep = a2dp_add_sep(endpoint->adapter->btd_adapter,
AVDTP_SEP_TYPE_SOURCE, endpoint->codec,
endpoint->delay_reporting, &a2dp_endpoint,
static bool endpoint_init_a2dp_sink(struct media_endpoint *endpoint, int *err)
{
+ if (TIZEN_FEATURE_BLUEZ_DA && !TIZEN_FEATURE_BLUEZ_FHUB) {
+ DBG("A2DP sink not supported in DA (non-fhub) product");
+ return FALSE;
+ }
+
endpoint->sep = a2dp_add_sep(endpoint->adapter->btd_adapter,
AVDTP_SEP_TYPE_SINK, endpoint->codec,
endpoint->delay_reporting, &a2dp_endpoint,