a2dp_source.c (17741193d928b3b11b27de55c3566d0820067303) a2dp_source.c (86a5a72143c4a9ec991f4d66e117d00d87c87123)
1
2/*
3 * Copyright (C) 2016 BlueKitchen GmbH
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 404 unchanged lines hidden (view full) ---

413 break;
414
415 case AVDTP_SUBEVENT_SIGNALING_SEP_FOUND:{
416 avdtp_sep_t sep;
417 sep.seid = avdtp_subevent_signaling_sep_found_get_remote_seid(packet);;
418 sep.in_use = avdtp_subevent_signaling_sep_found_get_in_use(packet);
419 sep.media_type = (avdtp_media_type_t) avdtp_subevent_signaling_sep_found_get_media_type(packet);
420 sep.type = (avdtp_sep_type_t) avdtp_subevent_signaling_sep_found_get_sep_type(packet);
1
2/*
3 * Copyright (C) 2016 BlueKitchen GmbH
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *

--- 404 unchanged lines hidden (view full) ---

413 break;
414
415 case AVDTP_SUBEVENT_SIGNALING_SEP_FOUND:{
416 avdtp_sep_t sep;
417 sep.seid = avdtp_subevent_signaling_sep_found_get_remote_seid(packet);;
418 sep.in_use = avdtp_subevent_signaling_sep_found_get_in_use(packet);
419 sep.media_type = (avdtp_media_type_t) avdtp_subevent_signaling_sep_found_get_media_type(packet);
420 sep.type = (avdtp_sep_type_t) avdtp_subevent_signaling_sep_found_get_sep_type(packet);
421 log_info("A2DP Found sep: remote seid %u, in_use %d, media type %d, sep type %d (1-SNK), index %d", sep.seid, sep.in_use, sep.media_type, sep.type, num_remote_seps);
422 remote_seps[num_remote_seps++] = sep;
421 log_info("A2DP Found sep: remote seid %u, in_use %d, media type %d, sep type %s (1-SNK), index %d",
422 sep.seid, sep.in_use, sep.media_type, sep.type == AVDTP_SOURCE ? "source" : "sink", num_remote_seps);
423 if (sep.type == AVDTP_SINK){
424 remote_seps[num_remote_seps++] = sep;
425 }
423 break;
424 }
425 case AVDTP_SUBEVENT_SIGNALING_SEP_DICOVERY_DONE:
426 app_state = A2DP_W2_GET_CAPABILITIES;
427 sc.active_remote_sep_index = 0;
428 break;
429
430 case AVDTP_SUBEVENT_SIGNALING_ACCEPT:

--- 205 unchanged lines hidden ---
426 break;
427 }
428 case AVDTP_SUBEVENT_SIGNALING_SEP_DICOVERY_DONE:
429 app_state = A2DP_W2_GET_CAPABILITIES;
430 sc.active_remote_sep_index = 0;
431 break;
432
433 case AVDTP_SUBEVENT_SIGNALING_ACCEPT:

--- 205 unchanged lines hidden ---