According to doc/mesh-api.txt, node object should be located at /org/bluez/mesh/node. --- mesh/node.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesh/node.c b/mesh/node.c index c2feaee52..45383b7d5 100644 --- a/mesh/node.c +++ b/mesh/node.c @@ -47,7 +47,6 @@ #define MIN_COMP_SIZE 14 #define MESH_NODE_PATH_PREFIX "/node" -#define MESH_ELEMENT_PATH_PREFIX "/ele" /* Default values for a new locally created node */ #define DEFAULT_NEW_UNICAST 0x0001 @@ -1021,7 +1020,8 @@ static bool register_node_object(struct mesh_node *node) if (!hex2str(node->uuid, sizeof(node->uuid), uuid, sizeof(uuid))) return false; - node->path = l_strdup_printf(MESH_NODE_PATH_PREFIX "%s", uuid); + node->path = l_strdup_printf(BLUEZ_MESH_PATH MESH_NODE_PATH_PREFIX + "%s", uuid); if (!l_dbus_object_add_interface(dbus_get_bus(), node->path, MESH_NODE_INTERFACE, node)) -- 2.19.1