From 1ce7cea150a5efeea19b820e77be2b763fc8b4b3 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 8 Sep 2020 16:43:58 +0200 Subject: [PATCH] test/hfp: fix test build --- test/hfp/mock.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/hfp/mock.c b/test/hfp/mock.c index 8e713f600..dfa72c39c 100644 --- a/test/hfp/mock.c +++ b/test/hfp/mock.c @@ -51,6 +51,7 @@ #include "classic/sdp_client_rfcomm.h" #include "classic/rfcomm.h" #include "classic/hfp_hf.h" +#include "classic/sdp_client.h" #include "classic/sdp_client_rfcomm.h" #include "mock.h" @@ -246,6 +247,10 @@ uint8_t sdp_client_query_rfcomm_channel_and_name_for_uuid(btstack_packet_handler return 0; } +uint8_t sdp_client_register_query_callback(btstack_context_callback_registration_t * callback_registration){ + (callback_registration->callback)(callback_registration->context); + return ERROR_CODE_SUCCESS; +} uint8_t rfcomm_create_channel(btstack_packet_handler_t handler, bd_addr_t addr, uint8_t channel, uint16_t * out_cid){