mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-05 18:40:27 +00:00
avrcp: rename function
This commit is contained in:
parent
f0674e22c0
commit
6d8f569dff
@ -461,7 +461,7 @@ static void avrcp_emit_connection_closed(uint16_t avrcp_cid){
|
|||||||
(*avrcp_callback)(HCI_EVENT_PACKET, 0, event, sizeof(event));
|
(*avrcp_callback)(HCI_EVENT_PACKET, 0, event, sizeof(event));
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t avrcp_sdp_sdp_query_browsing_l2cap_psm(void){
|
uint16_t avrcp_sdp_query_browsing_l2cap_psm(void){
|
||||||
return sdp_query_context.browsing_l2cap_psm;
|
return sdp_query_context.browsing_l2cap_psm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -596,7 +596,7 @@ void avrcp_request_can_send_now(avrcp_connection_t * connection, uint16_t l2cap_
|
|||||||
uint16_t avrcp_get_next_cid(avrcp_role_t role);
|
uint16_t avrcp_get_next_cid(avrcp_role_t role);
|
||||||
btstack_linked_list_t avrcp_get_connections(void);
|
btstack_linked_list_t avrcp_get_connections(void);
|
||||||
|
|
||||||
uint16_t avrcp_sdp_sdp_query_browsing_l2cap_psm(void);
|
uint16_t avrcp_sdp_query_browsing_l2cap_psm(void);
|
||||||
void avrcp_handle_sdp_client_query_attribute_value(uint8_t *packet);
|
void avrcp_handle_sdp_client_query_attribute_value(uint8_t *packet);
|
||||||
avrcp_connection_t * get_avrcp_connection_for_browsing_cid_for_role(avrcp_role_t role, uint16_t browsing_cid);
|
avrcp_connection_t * get_avrcp_connection_for_browsing_cid_for_role(avrcp_role_t role, uint16_t browsing_cid);
|
||||||
avrcp_connection_t * get_avrcp_connection_for_browsing_l2cap_cid_for_role(avrcp_role_t role, uint16_t browsing_l2cap_cid);
|
avrcp_connection_t * get_avrcp_connection_for_browsing_l2cap_cid_for_role(avrcp_role_t role, uint16_t browsing_l2cap_cid);
|
||||||
|
@ -422,7 +422,7 @@ static void avrcp_browsing_handle_sdp_client_query_result(uint8_t packet_type, u
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
browsing_l2cap_psm = avrcp_sdp_sdp_query_browsing_l2cap_psm();
|
browsing_l2cap_psm = avrcp_sdp_query_browsing_l2cap_psm();
|
||||||
if (!browsing_l2cap_psm){
|
if (!browsing_l2cap_psm){
|
||||||
avrcp_browsing_emit_connection_established(avrcp_target_connection->avrcp_browsing_cid, avrcp_browsing_sdp_addr, SDP_SERVICE_NOT_FOUND);
|
avrcp_browsing_emit_connection_established(avrcp_target_connection->avrcp_browsing_cid, avrcp_browsing_sdp_addr, SDP_SERVICE_NOT_FOUND);
|
||||||
avrcp_browsing_finalize_connection(avrcp_target_connection);
|
avrcp_browsing_finalize_connection(avrcp_target_connection);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user