CONFIG_BT_MESH_SENSOR_ALL_TYPES

Force all sensor types to be known

Type: bool

Help

Forces all sensor types to be included in the build. This is useful if the set of sensor types that will be used is unknown at compile time, but increases ROM usage by about 3.5kB (4kB if labels are enabled).

Direct dependencies

BT_MESH && BT

(Includes any dependencies from ifs and menus.)

Default

Kconfig definition

At <nRF>/subsys/bluetooth/mesh/Kconfig.sensor:18

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:9<BuildDir>/Kconfig/Kconfig.modules:1<nRF>/Kconfig.nrf:25<nRF>/subsys/Kconfig:10<nRF>/subsys/bluetooth/Kconfig:30<nRF>/subsys/bluetooth/mesh/Kconfig:11<nRF>/subsys/bluetooth/mesh/Kconfig.models:535

Menu path: (Top) → Modules → Nordic nRF Connect → Bluetooth Low Energy → Bluetooth Mesh → nRF BT Mesh Models → Bluetooth Mesh Sensors

config BT_MESH_SENSOR_ALL_TYPES
    bool "Force all sensor types to be known" if BT_MESH_SENSOR
    default y if BT_MESH_SENSOR_CLI
    depends on BT_MESH && BT
    help
      Forces all sensor types to be included in the build. This is
      useful if the set of sensor types that will be used is unknown at
      compile time, but increases ROM usage by about 3.5kB (4kB if labels
      are enabled).

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