mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-25 15:41:00 +00:00
hid_host: abort outgoing connection if sdp query does not complete
This commit is contained in:
parent
3eaa38a78a
commit
b4c9695082
@ -674,6 +674,11 @@ static void hid_host_handle_sdp_client_query_result(uint8_t packet_type, uint16_
|
||||
// report mode possible
|
||||
break;
|
||||
|
||||
// SDP query incomplete (e.g. disconnect)
|
||||
case SDP_QUERY_INCOMPLETE:
|
||||
finalize_connection = true;
|
||||
break;
|
||||
|
||||
// SDP connection failed or remote does not have SDP server
|
||||
default:
|
||||
if (connection->requested_protocol_mode == HID_PROTOCOL_MODE_REPORT_WITH_FALLBACK_TO_BOOT){
|
||||
|
Loading…
x
Reference in New Issue
Block a user