summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hcid/dbus-adapter.c14
-rw-r--r--hcid/dbus-service.c7
2 files changed, 21 insertions, 0 deletions
diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c
index d94c43b9..f1aef25d 100644
--- a/hcid/dbus-adapter.c
+++ b/hcid/dbus-adapter.c
@@ -227,6 +227,12 @@ static struct bonding_request_info *bonding_request_new(bdaddr_t *peer,
return bonding;
}
+static DBusHandlerResult adapter_get_info(DBusConnection *conn,
+ DBusMessage *msg, void *data)
+{
+ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
+}
+
static DBusHandlerResult adapter_get_address(DBusConnection *conn,
DBusMessage *msg, void *data)
{
@@ -1034,6 +1040,12 @@ static DBusHandlerResult adapter_set_name(DBusConnection *conn,
return send_message_and_unref(conn, reply);
}
+static DBusHandlerResult adapter_get_remote_info(DBusConnection *conn,
+ DBusMessage *msg, void *data)
+{
+ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
+}
+
static DBusHandlerResult adapter_get_remote_svc(DBusConnection *conn,
DBusMessage *msg, void *data)
{
@@ -2770,6 +2782,7 @@ GSList *service_classes_str(uint32_t class)
}
static struct service_data dev_services[] = {
+ { "GetInfo", adapter_get_info },
{ "GetAddress", adapter_get_address },
{ "GetVersion", adapter_get_version },
{ "GetRevision", adapter_get_revision },
@@ -2791,6 +2804,7 @@ static struct service_data dev_services[] = {
{ "GetName", adapter_get_name },
{ "SetName", adapter_set_name },
+ { "GetRemoteInfo", adapter_get_remote_info },
{ "GetRemoteServiceRecord", adapter_get_remote_svc },
{ "GetRemoteServiceRecordAsXML", adapter_get_remote_svc_xml },
{ "GetRemoteServiceHandles", adapter_get_remote_svc_handles },
diff --git a/hcid/dbus-service.c b/hcid/dbus-service.c
index 4a4da621..1b3e8012 100644
--- a/hcid/dbus-service.c
+++ b/hcid/dbus-service.c
@@ -101,6 +101,12 @@ static void service_exit(const char *name, struct service *service)
service->bus_name = NULL;
}
+static DBusHandlerResult get_info(DBusConnection *conn,
+ DBusMessage *msg, void *data)
+{
+ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
+}
+
static DBusHandlerResult get_identifier(DBusConnection *conn,
DBusMessage *msg, void *data)
{
@@ -550,6 +556,7 @@ static DBusHandlerResult remove_trust(DBusConnection *conn,
}
static struct service_data services_methods[] = {
+ { "GetInfo", get_info },
{ "GetIdentifier", get_identifier },
{ "GetName", get_name },
{ "GetDescription", get_description },