example/spp_streamer_client: look for SPP Server

This commit is contained in:
Matthias Ringwald 2024-05-31 18:45:55 +02:00
parent ff38a59e09
commit 6bac88f455

View File

@ -230,7 +230,7 @@ static void handle_start_sdp_client_query(void * context){
UNUSED(context); UNUSED(context);
if (state != W2_SEND_SDP_QUERY) return; if (state != W2_SEND_SDP_QUERY) return;
state = W4_RFCOMM_CHANNEL; state = W4_RFCOMM_CHANNEL;
sdp_client_query_rfcomm_channel_and_name_for_uuid(&handle_query_rfcomm_event, peer_addr, BLUETOOTH_ATTRIBUTE_PUBLIC_BROWSE_ROOT); sdp_client_query_rfcomm_channel_and_name_for_uuid(&handle_query_rfcomm_event, peer_addr, BLUETOOTH_SERVICE_CLASS_SERIAL_PORT);
} }