* [PATCH] Remove bt_discover_services function from glib-helper
@ 2010-12-20 23:06 Sheldon Demario
2010-12-20 23:10 ` Johan Hedberg
2010-12-21 8:09 ` bluetooth for vendor special command and event Challen Zhou
0 siblings, 2 replies; 3+ messages in thread
From: Sheldon Demario @ 2010-12-20 23:06 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Sheldon Demario
There is no reference in the code for this function. SDP discovery in
the bluetoothd core and plugins are now using bt_search_service only.
---
src/glib-helper.c | 10 ----------
src/glib-helper.h | 3 ---
2 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/src/glib-helper.c b/src/glib-helper.c
index aa7f2c7..ec016a8 100644
--- a/src/glib-helper.c
+++ b/src/glib-helper.c
@@ -363,16 +363,6 @@ int bt_search_service(const bdaddr_t *src, const bdaddr_t *dst,
return 0;
}
-int bt_discover_services(const bdaddr_t *src, const bdaddr_t *dst,
- bt_callback_t cb, void *user_data, bt_destroy_t destroy)
-{
- uuid_t uuid;
-
- sdp_uuid16_create(&uuid, PUBLIC_BROWSE_GROUP);
-
- return bt_search_service(src, dst, &uuid, cb, user_data, destroy);
-}
-
static gint find_by_bdaddr(gconstpointer data, gconstpointer user_data)
{
const struct search_context *ctxt = data, *search = user_data;
diff --git a/src/glib-helper.h b/src/glib-helper.h
index 9cac915..a191be0 100644
--- a/src/glib-helper.h
+++ b/src/glib-helper.h
@@ -25,9 +25,6 @@ typedef void (*bt_callback_t) (sdp_list_t *recs, int err, gpointer user_data);
typedef void (*bt_primary_t) (GSList *l, int err, gpointer user_data);
typedef void (*bt_destroy_t) (gpointer user_data);
-int bt_discover_services(const bdaddr_t *src, const bdaddr_t *dst,
- bt_callback_t cb, void *user_data, bt_destroy_t destroy);
-
int bt_search_service(const bdaddr_t *src, const bdaddr_t *dst,
uuid_t *uuid, bt_callback_t cb, void *user_data,
bt_destroy_t destroy);
--
1.7.3.2
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] Remove bt_discover_services function from glib-helper
2010-12-20 23:06 [PATCH] Remove bt_discover_services function from glib-helper Sheldon Demario
@ 2010-12-20 23:10 ` Johan Hedberg
2010-12-21 8:09 ` bluetooth for vendor special command and event Challen Zhou
1 sibling, 0 replies; 3+ messages in thread
From: Johan Hedberg @ 2010-12-20 23:10 UTC (permalink / raw)
To: Sheldon Demario; +Cc: linux-bluetooth
Hi Sheldon,
On Mon, Dec 20, 2010, Sheldon Demario wrote:
> There is no reference in the code for this function. SDP discovery in
> the bluetoothd core and plugins are now using bt_search_service only.
> ---
> src/glib-helper.c | 10 ----------
> src/glib-helper.h | 3 ---
> 2 files changed, 0 insertions(+), 13 deletions(-)
Pushed upstream. Thanks.
Johan
^ permalink raw reply [flat|nested] 3+ messages in thread
* bluetooth for vendor special command and event
2010-12-20 23:06 [PATCH] Remove bt_discover_services function from glib-helper Sheldon Demario
2010-12-20 23:10 ` Johan Hedberg
@ 2010-12-21 8:09 ` Challen Zhou
1 sibling, 0 replies; 3+ messages in thread
From: Challen Zhou @ 2010-12-21 8:09 UTC (permalink / raw)
To: linux-bluetooth@vger.kernel.org
Hi,all,
I want to add a control interface for BT control other device(bt and the device on single chip),
Thus , I need to add some special HCI command and Event, but when I view the code
in kernel, but find that it do not provide this interface or function. Anybody have any idea on this?
BRS
Challen zhou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-21 8:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-20 23:06 [PATCH] Remove bt_discover_services function from glib-helper Sheldon Demario
2010-12-20 23:10 ` Johan Hedberg
2010-12-21 8:09 ` bluetooth for vendor special command and event Challen Zhou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox