Skip to content

Commit 73c5568

Browse files
PavelVPVcarlescufi
authored andcommitted
Bluetooth: Mesh: Remove _cli postfix from models shell files
This commits renames `health_cli.c` and `cfg_cli.c` under `mesh/shell` folder to `health.c` and `cfg.c` accordingly. This is to create a generic pattern for the future, when not only clients, but server models will also expose some API through shell commands. This means that server models' shell commands should be located in the same file as client commands to avoid cluttering `mesh models` subcommand. Signed-off-by: Pavel Vasilyev <[email protected]>
1 parent f93ab27 commit 73c5568

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

subsys/bluetooth/mesh/shell/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ zephyr_library_sources(
55
utils.c
66
)
77

8-
zephyr_library_sources_ifdef(CONFIG_BT_MESH_SHELL_HEALTH_CLI health_cli.c)
8+
zephyr_library_sources_ifdef(CONFIG_BT_MESH_SHELL_HEALTH_CLI health.c)
99

10-
zephyr_library_sources_ifdef(CONFIG_BT_MESH_SHELL_CFG_CLI cfg_cli.c)
10+
zephyr_library_sources_ifdef(CONFIG_BT_MESH_SHELL_CFG_CLI cfg.c)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)