CONFIG_BT_SETTINGS_USE_PRINTK

Use snprintk to encode Bluetooth settings key strings

Use snprintk to encode Bluetooth settings key strings

Type: bool

Help

When selected, Bluetooth settings will use snprintk to encode
key strings.
When not selected, Bluetooth settings will use a faster builtin
function to encode the key string. The drawback is that if
printk is enabled then the program memory footprint will be larger.

Help

When selected, Bluetooth settings will use snprintk to encode
key strings.
When not selected, Bluetooth settings will use a faster builtin
function to encode the key string. The drawback is that if
printk is enabled then the program memory footprint will be larger.

Direct dependencies

(SETTINGS && PRINTK && BT_SETTINGS && BT_HCI_HOST && BT_RPC_STACK) || (SETTINGS && PRINTK && BT_SETTINGS && BT_HCI_HOST && BT_HCI && BT)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

Kconfig definitions

At <Zephyr>/subsys/bluetooth/host/Kconfig:160

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:92<nRF>/subsys/Kconfig:10<nRF>/subsys/bluetooth/Kconfig:38<nRF>/subsys/bluetooth/rpc/Kconfig:196

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Bluetooth Low Energy → BLE over nRF RPC → Store Bluetooth state and configuration persistently

config BT_SETTINGS_USE_PRINTK
    bool "Use snprintk to encode Bluetooth settings key strings"
    default y
    depends on SETTINGS && PRINTK && BT_SETTINGS && BT_HCI_HOST && BT_RPC_STACK
    help
      When selected, Bluetooth settings will use snprintk to encode
      key strings.
      When not selected, Bluetooth settings will use a faster builtin
      function to encode the key string. The drawback is that if
      printk is enabled then the program memory footprint will be larger.

At <Zephyr>/subsys/bluetooth/host/Kconfig:160

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:180

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Store Bluetooth state and configuration persistently

config BT_SETTINGS_USE_PRINTK
    bool "Use snprintk to encode Bluetooth settings key strings"
    default y
    depends on SETTINGS && PRINTK && BT_SETTINGS && BT_HCI_HOST && BT_HCI && BT
    help
      When selected, Bluetooth settings will use snprintk to encode
      key strings.
      When not selected, Bluetooth settings will use a faster builtin
      function to encode the key string. The drawback is that if
      printk is enabled then the program memory footprint will be larger.

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