This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_BT_MESH_LPN_AUTO

Automatically start looking for Friend nodes once provisioned

Type: bool

Help

Automatically enable LPN functionality once provisioned and start
looking for Friend nodes. If this option is disabled LPN mode
needs to be manually enabled by calling bt_mesh_lpn_set(true).

Direct dependencies

BT_MESH_LOW_POWER && BT_MESH && BT

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At subsys/bluetooth/mesh/Kconfig:516

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:9subsys/bluetooth/Kconfig:332

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Bluetooth mesh support → Support for Low Power features

config BT_MESH_LPN_AUTO
    bool "Automatically start looking for Friend nodes once provisioned"
    default y
    depends on BT_MESH_LOW_POWER && BT_MESH && BT
    help
      Automatically enable LPN functionality once provisioned and start
      looking for Friend nodes. If this option is disabled LPN mode
      needs to be manually enabled by calling bt_mesh_lpn_set(true).

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