Hi,
I'm using the Zephyr sample peripheral_hr mostly as is.
I get the following log messages when I run:
[00:00:17.350,280] <inf> fs_nvs: 2 Sectors of 4096 bytes
[00:00:17.350,555] <inf> fs_nvs: alloc wra: 0, fd0
[00:00:17.350,799] <inf> fs_nvs: data wra: 0, 1c
[00:00:17.369,018] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:17.369,323] <inf> bt_hci_core: HW Variant: nRF53x (0x0003)
[00:00:17.369,628] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 242.24551 Build 4087489391
[00:00:17.371,307] <inf> bt_hci_core: No ID address. App must call settings_load()
Bluetooth initialized
Advertising failed to start (err -11)
I have repeatedly read all of the Nordic documentation about working with the nrf5340 and I'm pretty sure I'm compiling and flashing the sample properly. I've also repeatedly searched this and other forums as to why advertising fails to start.
I assume that I'm missing some obscure CONFIG_ setting. Can anyone offer me a clue as to why bt_le_adv_start is returning a -11 (no more processes) error in a sample program?
Steve