mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-04 15:39:59 +00:00
sdp_client_rfcomm: fix SDP_EVENT_QUERY_RFCOMM_SERVICE
This commit is contained in:
parent
6e7533547b
commit
5c7cdf75aa
@ -117,7 +117,7 @@ static void sdp_rfcomm_query_emit_service(void){
|
||||
event[2] = sdp_client_rfcomm_channel_nr;
|
||||
(void)memcpy(&event[3], sdp_client_rfcomm_service_name, sdp_client_rfcomm_service_name_len);
|
||||
event[3 + sdp_client_rfcomm_service_name_len] = 0;
|
||||
(*sdp_client_rfcomm_app_callback)(HCI_EVENT_PACKET, 0, event, sizeof(event));
|
||||
(*sdp_client_rfcomm_app_callback)(HCI_EVENT_PACKET, 0, event, 3 + sdp_client_rfcomm_service_name_len + 1);
|
||||
}
|
||||
|
||||
static void sdp_client_query_rfcomm_handle_record_parsed(void){
|
||||
|
Loading…
x
Reference in New Issue
Block a user