mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
avrcp_controller: trigger notification registration after response was received
This commit is contained in:
parent
83f1bca067
commit
2a7bb97a3a
@ -848,6 +848,11 @@ static void avrcp_handle_l2cap_data_packet_for_signaling_connection(avrcp_connec
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
// trigger pending notification reqistrations
|
||||
if (connection->state == AVCTP_CONNECTION_OPENED && connection->notifications_to_register){
|
||||
avrcp_request_can_send_now(connection, connection->l2cap_signaling_cid);
|
||||
}
|
||||
}
|
||||
|
||||
static void avrcp_controller_handle_can_send_now(avrcp_connection_t * connection){
|
||||
|
Loading…
x
Reference in New Issue
Block a user