diff --git a/mesh/mesh.h b/mesh/mesh.h
index ff4e04f..9b63500 100644
--- a/mesh/mesh.h
+++ b/mesh/mesh.h
*
* BlueZ - Bluetooth protocol stack for Linux
*
- * Copyright (C) 2018 Intel Corporation. All rights reserved.
+ * Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
* This library is free software; you can redistribute it and/or
#define MESH_ELEMENT_INTERFACE "org.bluez.mesh.Element1"
#define MESH_APPLICATION_INTERFACE "org.bluez.mesh.Application1"
#define MESH_PROVISION_AGENT_INTERFACE "org.bluez.mesh.ProvisionAgent1"
+#define MESH_PROVISIONER_INTERFACE "org.bluez.mesh.Provisioner1"
#define ERROR_INTERFACE "org.bluez.mesh.Error"
typedef void (*prov_rx_cb_t)(void *user_data, const uint8_t *data,
diff --git a/mesh/node.c b/mesh/node.c
index 3618595..21dcfd0 100644
--- a/mesh/node.c
+++ b/mesh/node.c
*
* BlueZ - Bluetooth protocol stack for Linux
*
- * Copyright (C) 2017-2018 Intel Corporation. All rights reserved.
+ * Copyright (C) 2017-2019 Intel Corporation. All rights reserved.
*
*
* This library is free software; you can redistribute it and/or
&properties);
if (!agent)
goto fail;
+ } else if (!strcmp(MESH_PROVISIONER_INTERFACE,
+ interface)) {
+ node->provisioner = true;
}
}
}