mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-18 05:42:49 +00:00
a2dp_source: always emit signaling connection established
This commit is contained in:
parent
29c1fe6736
commit
cf6e4a8c62
@ -264,14 +264,15 @@ static void a2dp_source_packet_handler_internal(uint8_t packet_type, uint16_t ch
|
|||||||
}
|
}
|
||||||
log_info("A2DP source signaling connection established avdtp_cid 0x%02x", cid);
|
log_info("A2DP source signaling connection established avdtp_cid 0x%02x", cid);
|
||||||
|
|
||||||
if (discover_seps_in_process){
|
|
||||||
connection->a2dp_source_discover_seps = true;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
a2dp_start_discovering_seps(connection);
|
|
||||||
// notify app
|
// notify app
|
||||||
a2dp_emit_signaling_connection_established(a2dp_source_packet_handler_user, packet, size, status);
|
a2dp_emit_signaling_connection_established(a2dp_source_packet_handler_user, packet, size, status);
|
||||||
|
|
||||||
|
// discover seps
|
||||||
|
if (discover_seps_in_process){
|
||||||
|
connection->a2dp_source_discover_seps = true;
|
||||||
|
} else {
|
||||||
|
a2dp_start_discovering_seps(connection);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AVDTP_SUBEVENT_SIGNALING_SEP_FOUND:{
|
case AVDTP_SUBEVENT_SIGNALING_SEP_FOUND:{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user