:orphan: .. title:: BT_SETTINGS_USE_PRINTK .. option:: CONFIG_BT_SETTINGS_USE_PRINTK *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. Direct dependencies =================== \ :option:`SETTINGS ` && \ :option:`PRINTK ` && \ :option:`BT_SETTINGS ` && \ :option:`BT_HCI_HOST ` && \ :option:`BT_HCI ` && \ :option:`BT ` *(Includes any dependencies from ifs and menus.)* Default ======= - y Kconfig definition ================== .. highlight:: kconfig At ``subsys/bluetooth/host/Kconfig:218`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:34`` → ``subsys/Kconfig:9`` → ``subsys/bluetooth/Kconfig:239`` Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Store Bluetooth state and configuration persistently .. parsed-literal:: config BT_SETTINGS_USE_PRINTK bool "Use snprintk to encode Bluetooth settings key strings" default y depends on \ :option:`SETTINGS ` && \ :option:`PRINTK ` && \ :option:`BT_SETTINGS ` && \ :option:`BT_HCI_HOST ` && \ :option:`BT_HCI ` && \ :option:`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.)*