From 6bac88f45514ddf6cb0b052f221101985258d0a9 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 31 May 2024 18:45:55 +0200 Subject: [PATCH] example/spp_streamer_client: look for SPP Server --- example/spp_streamer_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/spp_streamer_client.c b/example/spp_streamer_client.c index 0ad2d6c0c..29b106e76 100644 --- a/example/spp_streamer_client.c +++ b/example/spp_streamer_client.c @@ -230,7 +230,7 @@ static void handle_start_sdp_client_query(void * context){ UNUSED(context); if (state != W2_SEND_SDP_QUERY) return; 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); }