summaryrefslogtreecommitdiffstats
path: root/hcid/dbus-adapter.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2006-08-31 21:30:11 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2006-08-31 21:30:11 +0000
commit453d87840fd35b1e29322710a02fd2bc2c5da7b3 (patch)
tree88962c810135435dab5eb23fdbf806454d29208e /hcid/dbus-adapter.c
parenta91377314ff45355360179c1c3d95c77760921c2 (diff)
Added GetRemoteServiceRecord and GetRemoteServiceHandles. Updated GetIdentifiers and GetIdentifiersByService
Diffstat (limited to 'hcid/dbus-adapter.c')
-rw-r--r--hcid/dbus-adapter.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c
index 94d2c9ba..4dcd629f 100644
--- a/hcid/dbus-adapter.c
+++ b/hcid/dbus-adapter.c
@@ -986,6 +986,16 @@ static DBusHandlerResult handle_dev_set_name_req(DBusConnection *conn, DBusMessa
return send_reply_and_unref(conn, reply);
}
+static DBusHandlerResult handle_dev_get_remote_svc_rec(DBusConnection *conn, DBusMessage *msg, void *data)
+{
+ return get_remote_svc_rec(conn, msg, data);
+}
+
+static DBusHandlerResult handle_dev_get_remote_svc_handles(DBusConnection *conn, DBusMessage *msg, void *data)
+{
+ return get_remote_svc_handles(conn, msg, data);
+}
+
static DBusHandlerResult handle_dev_get_remote_version_req(DBusConnection *conn, DBusMessage *msg, void *data)
{
struct hci_dbus_data *dbus_data = data;
@@ -2404,6 +2414,9 @@ static struct service_data dev_services[] = {
{ "GetName", handle_dev_get_name_req },
{ "SetName", handle_dev_set_name_req },
+ { "GetRemoteServiceRecord", handle_dev_get_remote_svc_rec },
+ { "GetRemoteServiceHandles", handle_dev_get_remote_svc_handles },
+
{ "GetRemoteVersion", handle_dev_get_remote_version_req },
{ "GetRemoteRevision", handle_dev_get_remote_revision_req },
{ "GetRemoteManufacturer", handle_dev_get_remote_manufacturer_req },