CONFIG_BT_CTLR_ASSERT_HANDLER

Application Defined Assertion Handler

Type: bool

Help

This option enables an application-defined sink for the controller assertion mechanism. This must be defined in application code as void "bt_ctlr_assert_handle(char *, int)" and will be invoked whenever the controller code encounters an unrecoverable error.

Direct dependencies

BT_CTLR && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/subsys/bluetooth/controller/Kconfig:597

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:240

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Bluetooth Controller

config BT_CTLR_ASSERT_HANDLER
    bool "Application Defined Assertion Handler"
    depends on BT_CTLR && BT_HCI && BT
    help
      This option enables an application-defined sink for the
      controller assertion mechanism. This must be defined in
      application code as void "bt_ctlr_assert_handle(char *, int)"
      and will be invoked whenever the controller code encounters
      an unrecoverable error.

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