Bluetooth: Mesh: shell: Add command for Node Identity

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
diff --git a/subsys/bluetooth/host/mesh/shell.c b/subsys/bluetooth/host/mesh/shell.c
index 19ddbbd..2f0fd4d 100644
--- a/subsys/bluetooth/host/mesh/shell.c
+++ b/subsys/bluetooth/host/mesh/shell.c
@@ -253,6 +253,20 @@
 }
 #endif /* MESH_LOW_POWER */
 
+#if defined(CONFIG_BT_MESH_GATT_PROXY)
+static int cmd_ident(int argc, char *argv[])
+{
+	int err;
+
+	err = bt_mesh_proxy_identity_enable();
+	if (err) {
+		printk("Failed advertise using Node Identity (err %d)\n", err);
+	}
+
+	return 0;
+}
+#endif /* MESH_GATT_PROXY */
+
 static const struct shell_cmd mesh_commands[] = {
 	{ "init", cmd_init, NULL },
 	{ "reset", cmd_reset, NULL },
@@ -261,6 +275,9 @@
 #if defined(CONFIG_BT_MESH_LOW_POWER)
 	{ "lpn", cmd_lpn, "<value: off, on>" },
 #endif
+#if defined(CONFIG_BT_MESH_GATT_PROXY)
+	{ "ident", cmd_ident, NULL },
+#endif
 	{ NULL, NULL, NULL}
 };