CONFIG_BT_GATT_HRS_LOG_LEVEL

Heart Rate service log level

Type: int

Help

Sets log level for the Heart Rate service. Levels are: 0 OFF, do not write 1 ERROR, only write LOG_ERR 2 WARNING, write LOG_WRN in addition to previous level 3 INFO, write LOG_INF in addition to previous levels 4 DEBUG, write LOG_DBG in addition to previous levels

Direct dependencies

LOG && BT_GATT_HRS && BT_CONN && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Default

  • 0

Kconfig definition

At subsys/bluetooth/services/Kconfig.hrs:11

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:6subsys/bluetooth/Kconfig:96subsys/bluetooth/services/Kconfig:13

Menu path: (Top) → Bluetooth → GATT Services → Enable GATT Heart Rate service

config BT_GATT_HRS_LOG_LEVEL
    int "Heart Rate service log level"
    range 0 4
    default 0
    depends on LOG && BT_GATT_HRS && BT_CONN && BT_HCI && BT
    help
      Sets log level for the Heart Rate service.
      Levels are:
      0 OFF, do not write
      1 ERROR, only write LOG_ERR
      2 WARNING, write LOG_WRN in addition to previous level
      3 INFO, write LOG_INF in addition to previous levels
      4 DEBUG, write LOG_DBG in addition to previous levels

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