Mesh: Add Node Reset API in FRWK
[platform/core/connectivity/bluetooth-frwk.git] / include / bluetooth-mesh-api.h
index 081bd0b..eaf5d58 100644 (file)
@@ -229,7 +229,9 @@ typedef struct {
 } bluetooth_mesh_authentication_request_t;
 
 typedef struct {
+       char net_uuid[BLUETOOTH_MESH_NETWORK_UUID_STRING_LENGTH + 1];
        uint16_t primary_unicast;
+       uint16_t num_elements;
        char dev_uuid[BLUETOOTH_MESH_NETWORK_UUID_STRING_LENGTH + 1];
 } bluetooth_mesh_node_info_t;
 
@@ -259,6 +261,11 @@ int bluetooth_mesh_network_create(const char *net_name,
 int bluetooth_mesh_network_destroy(bluetooth_mesh_network_t *network);
 
 /**
+ * Reset a remote Node & remove it from network
+ */
+int bluetooth_mesh_node_reset(bluetooth_mesh_node_info_t *node);
+
+/**
  * Load already created Network
  */
 int bluetooth_mesh_network_load(const char *token,