No ID address. App must call settings_load()

Hi there,

I get the following warning in the console:

I: No ID address. App must call settings_load()

According to https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/connectivity/bluetooth/bluetooth-arch.html#persistent-storage :

Once enabled, it is the responsibility of the application to call settings_load() after having initialized Bluetooth (using the bt_enable() API).

My code works as suggested:

bt_enable(NULL);
settings_load();

If I reverse the order of the above function calls, I get:

Starting Bluetooth Peripheral HIDS keyboard
I: 6 Sectors of 4096 bytes
I: alloc wra: 4, d08
I: data wra: 4, 5c0
I: SoftDevice Controller build revision: 
I: e0 7e 2e c1 5e 05 85 23 |.~..^..#
I: 46 15 dc fa 8e 29 7d 70 |F....)}p
I: 10 93 a5 fc             |....    
I: HW Platform: Nordic Semiconductor (0x0002)
I: HW Variant: nRF52x (0x0002)
I: Firmware: Standard Bluetooth controller (0x00) Version 224.11902 Build 2231721665
I: No ID address. App must call settings_load()
I: Identity: F0:98:11:CE:A4:92 (random)
I: HCI: version 5.4 (0x0d) revision 0x1077, manufacturer 0x0059
I: LMP: version 5.4 (0x0d) subver 0x1077

I found similar threads in this forum, but nobody provided the solution.

Thanks in advance!

Parents Reply Children
No Data
Related