CONFIG_OPENTHREAD_MAX_STATECHANGE_HANDLERS

The maximum number of state-changed callback handlers

Type: int

Help

The maximum number of state-changed callback handlers set using otSetStateChangedCallback.

Direct dependencies

NET_L2_OPENTHREAD && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 2

Kconfig definition

At <Zephyr>/subsys/net/l2/openthread/Kconfig:244

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/net/Kconfig:85<Zephyr>/subsys/net/l2/Kconfig:75

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options → OpenThread L2

config OPENTHREAD_MAX_STATECHANGE_HANDLERS
    int "The maximum number of state-changed callback handlers"
    default 2
    depends on NET_L2_OPENTHREAD && NETWORKING
    help
      The maximum number of state-changed callback handlers
      set using otSetStateChangedCallback.

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