Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions subsys/bluetooth/mesh/shell/cfg_cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ static int cmd_reset(const struct shell *sh, size_t argc, char *argv[])
return 0;
}

if (IS_ENABLED(CONFIG_BT_MESH_CDB)) {
struct bt_mesh_cdb_node *node = bt_mesh_cdb_node_get(bt_mesh_shell_target_ctx.dst);

if (node) {
bt_mesh_cdb_node_del(node, true);
}
}

shell_print(sh, "Remote node reset complete");

return 0;
Expand Down