CONFIG_NET_SHELL_DYN_CMD_COMPLETION

Enable network shell dynamic command completion

Type: bool

Help

Enable various net-shell command to support dynamic command completion. This means that for example the nbr command can automatically complete the neighboring IPv6 address and user does not need to type it manually. Please note that this uses more memory in order to save the dynamic command strings. For example for nbr command the increase is 320 bytes (8 neighbors * 40 bytes for IPv6 address length) by default. Other dynamic completion commands in net-shell require also some smaller amount of memory.

Direct dependencies

NET_SHELL && !NET_RAW_MODE && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/subsys/net/ip/Kconfig:125

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/net/Kconfig:87

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → IP stack → Enable network shell utilities

config NET_SHELL_DYN_CMD_COMPLETION
    bool "Enable network shell dynamic command completion"
    default y
    depends on NET_SHELL && !NET_RAW_MODE && NETWORKING
    help
      Enable various net-shell command to support dynamic command
      completion. This means that for example the nbr command can
      automatically complete the neighboring IPv6 address and user
      does not need to type it manually.
      Please note that this uses more memory in order to save the
      dynamic command strings. For example for nbr command the
      increase is 320 bytes (8 neighbors * 40 bytes for IPv6 address
      length) by default. Other dynamic completion commands in
      net-shell require also some smaller amount of memory.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)