diff --git a/doc/network-api.txt b/doc/network-api.txt index b640b9a0b..1c9d889eb 100644 --- a/doc/network-api.txt +++ b/doc/network-api.txt @@ -8,7 +8,7 @@ Network hierarchy ================= Service org.bluez -Interface org.bluez.Network +Interface org.bluez.Network1 Object path [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX Properties boolean Connected [readonly] @@ -28,7 +28,7 @@ Network server hierarchy ======================== Service org.bluez -Interface org.bluez.NetworkServer +Interface org.bluez.NetworkServer1 Object path /org/bluez/{hci0,hci1,...} Methods void Register(string uuid, string bridge) diff --git a/profiles/network/connection.c b/profiles/network/connection.c index 3157e316c..5fa3e1b8f 100644 --- a/profiles/network/connection.c +++ b/profiles/network/connection.c @@ -49,7 +49,7 @@ #include "manager.h" #include "connection.h" -#define NETWORK_PEER_INTERFACE "org.bluez.Network" +#define NETWORK_PEER_INTERFACE "org.bluez.Network1" #define CON_SETUP_RETRIES 3 #define CON_SETUP_TO 9 diff --git a/profiles/network/server.c b/profiles/network/server.c index e32e51d54..2869c288a 100644 --- a/profiles/network/server.c +++ b/profiles/network/server.c @@ -51,7 +51,7 @@ #include "common.h" #include "server.h" -#define NETWORK_SERVER_INTERFACE "org.bluez.NetworkServer" +#define NETWORK_SERVER_INTERFACE "org.bluez.NetworkServer1" #define SETUP_TIMEOUT 1 /* Pending Authorization */