summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-09-06 01:39:37 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-09-06 01:39:37 +0200
commitb326ad96e35e4abcd0466a82e5c92c727c8cc2af (patch)
treec676f6582cc5822675a91fa6d9730986ea478ca7
parentd1a55f14c65738c0838daaf7391de1a6ecdf1cd3 (diff)
Fix D-Bus API for serial and network plugins
-rw-r--r--network/connection.c2
-rw-r--r--network/server.c6
-rw-r--r--serial/proxy.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/network/connection.c b/network/connection.c
index b8f029e1..c17950bc 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -44,7 +44,7 @@
#include "error.h"
#include "common.h"
-#define NETWORK_PEER_INTERFACE "org.bluez.network.Peer"
+#define NETWORK_PEER_INTERFACE "org.bluez.Network"
typedef enum {
CONNECTED,
diff --git a/network/server.c b/network/server.c
index 00e8f0aa..e283a994 100644
--- a/network/server.c
+++ b/network/server.c
@@ -52,9 +52,9 @@
#include "bridge.h"
#include "common.h"
-#define NETWORK_PEER_INTERFACE "org.bluez.network.Peer"
-#define NETWORK_HUB_INTERFACE "org.bluez.network.Hub"
-#define NETWORK_ROUTER_INTERFACE "org.bluez.network.Router"
+#define NETWORK_PEER_INTERFACE "org.bluez.NetworkPeer"
+#define NETWORK_HUB_INTERFACE "org.bluez.NetworkHub"
+#define NETWORK_ROUTER_INTERFACE "org.bluez.NetworkRouter"
#define SETUP_TIMEOUT 1000
/* Pending Authorization */
diff --git a/serial/proxy.c b/serial/proxy.c
index d779d848..7128bdbc 100644
--- a/serial/proxy.c
+++ b/serial/proxy.c
@@ -67,8 +67,8 @@
#define DIALUP_NET_NAME "dun"
#define DIALUP_NET_UUID "00001103-0000-1000-8000-00805F9B34FB"
-#define SERIAL_PROXY_INTERFACE "org.bluez.serial.Proxy"
-#define SERIAL_MANAGER_INTERFACE "org.bluez.serial.ProxyManager"
+#define SERIAL_PROXY_INTERFACE "org.bluez.SerialProxy"
+#define SERIAL_MANAGER_INTERFACE "org.bluez.SerialProxyManager"
#define BUF_SIZE 1024
typedef enum {