Skip to content
Commit 04502633 authored by Kim Sekkelund's avatar Kim Sekkelund Committed by Carles Cufí
Browse files

Bluetooth: Host: Remove printk dependency from settings



Some modules use snprintk to format the settings keys. Unfortunately
snprintk is tied with printk which is very large for some embedded
systems.
To be able to have settings enabled without also enabling printk
support, change creation of settings key strings to use bin2hex, strlen
and strcpy instead.
A utility function to make decimal presentation of a byte value is
added as u8_to_dec in lib/os/dec.c
Add new Kconfig setting BT_SETTINGS_USE_PRINTK

Signed-off-by: default avatarKim Sekkelund <ksek@oticon.com>
parent 9828b0fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment