diff --git a/doc/connectivity/bluetooth/api/mesh/shell.rst b/doc/connectivity/bluetooth/api/mesh/shell.rst index 4ef1b4a0701..87678a1630a 100644 --- a/doc/connectivity/bluetooth/api/mesh/shell.rst +++ b/doc/connectivity/bluetooth/api/mesh/shell.rst @@ -1795,25 +1795,25 @@ The Bridge Configuration Client model is an optional Bluetooth Mesh model that c :kconfig:option:`CONFIG_BT_MESH_BRG_CFG_CLI` configuration option. The model provides functionality for configuring the subnet bridge functionality of a mesh node. -``mesh models brg_cfg bridge-get`` -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +``mesh models brg get`` +^^^^^^^^^^^^^^^^^^^^^^^ Get the current Subnet Bridge state. -``mesh models brg_cfg bridge-set `` -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +``mesh models brg set `` +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Set the Subnet Bridge state. * ``State``: Disable or enable the Subnet Bridge functionality. -``mesh models brg_cfg table-size-get`` -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +``mesh models brg table-size-get`` +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Get the current size of the Bridging Table. -``mesh models brg_cfg table-add `` -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +``mesh models brg table-add `` +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Add an entry to the Bridging Table. @@ -1827,8 +1827,8 @@ for configuring the subnet bridge functionality of a mesh node. * ``Addr1``: Address of the node in the first subnet. * ``Addr2``: Address of the node in the second subnet. -``mesh models brg_cfg table-remove `` -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +``mesh models brg table-remove `` +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Remove an entry from the Bridging Table. @@ -1837,8 +1837,8 @@ for configuring the subnet bridge functionality of a mesh node. * ``Addr1``: Address of the node in the first subnet. * ``Addr2``: Address of the node in the second subnet. -``mesh models brg_cfg subnets-get `` -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +``mesh models brg subnets-get `` +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Get a filtered set of NetKey index pairs extracted from the Bridging Table. @@ -1852,8 +1852,8 @@ for configuring the subnet bridge functionality of a mesh node. * ``NetIdx``: NetKey index of any of the subnets. * ``StartIdx``: Start offset in units of pairs of NetKey indexes to read. -``mesh models brg_cfg table-get `` -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +``mesh models brg table-get `` +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Get a list of addresses and allowed traffic directions of the Bridging Table entries. diff --git a/subsys/bluetooth/mesh/shell/brg_cfg.c b/subsys/bluetooth/mesh/shell/brg_cfg.c index cefaaa47035..ccaa23d8cad 100644 --- a/subsys/bluetooth/mesh/shell/brg_cfg.c +++ b/subsys/bluetooth/mesh/shell/brg_cfg.c @@ -231,16 +231,16 @@ static int cmd_bridging_table_get(const struct shell *sh, size_t argc, char *arg } SHELL_STATIC_SUBCMD_SET_CREATE( - brg_cfg_cmds, SHELL_CMD_ARG(bridge - get, NULL, NULL, cmd_subnet_bridge_get, 1, 0), - SHELL_CMD_ARG(bridge - set, NULL, "", cmd_subnet_bridge_set, 2, 0), - SHELL_CMD_ARG(table - size - get, NULL, NULL, cmd_bridging_table_size_get, 1, 0), - SHELL_CMD_ARG(table - add, NULL, " ", + brg_cfg_cmds, SHELL_CMD_ARG(get, NULL, NULL, cmd_subnet_bridge_get, 1, 0), + SHELL_CMD_ARG(set, NULL, "", cmd_subnet_bridge_set, 2, 0), + SHELL_CMD_ARG(table-size-get, NULL, NULL, cmd_bridging_table_size_get, 1, 0), + SHELL_CMD_ARG(table-add, NULL, " ", cmd_bridging_table_add, 6, 0), - SHELL_CMD_ARG(table - remove, NULL, " ", + SHELL_CMD_ARG(table-remove, NULL, " ", cmd_bridging_table_remove, 5, 0), - SHELL_CMD_ARG(subnets - get, NULL, " ", cmd_bridged_subnets_get, + SHELL_CMD_ARG(subnets-get, NULL, " ", cmd_bridged_subnets_get, 4, 0), - SHELL_CMD_ARG(table - get, NULL, " ", cmd_bridging_table_get, + SHELL_CMD_ARG(table-get, NULL, " ", cmd_bridging_table_get, 4, 0), SHELL_SUBCMD_SET_END);